Search found 1106 matches

by armsys
Fri Oct 23, 2015 8:04 am
Forum: Technical / Scripting
Topic: Macro Pro Text capture wizard not working
Replies: 2
Views: 2808

Re: Macro Pro Text capture wizard not working

A weird trick for GetTextinRect to definitely work is to loop until text is received. .
You may wish to build a timeout limit inside the loop.
Please try:

Code: Select all

GetTextInit
GetTextReset
Let>Result=
Let>Len=0
Label>GetText
GetTextInRect>500,550,1070,600,Result
If>Result=,GetText
MDL>Result
by armsys
Fri Oct 23, 2015 4:51 am
Forum: Enhancement Suggestions
Topic: Write binary content to disk
Replies: 2
Views: 5581

Re: Write binary content to disk

Hi JRL,
Shocking! Your code works fine, regardless of .bmp sizes and folders (%Desktop%\, or C:\Temp\).
My previous attempt to try out ExportData was unsuccessful. The only difference is the version. Now I'm running MS v14.2.05.
Thank you JRL.
by armsys
Thu Oct 22, 2015 11:32 pm
Forum: Technical / Scripting
Topic: How to Setfocus to a Help File
Replies: 7
Views: 5799

Re: How to Setfocus to a Help File

Hi Marcus,
Your previous post questioned my application of opening the msched.chm
Actually I program one of my mouse buttons to instantly pop up Macro Scheduler bible (aka msched.chm) on demand.
Again, thank you for your big help.
by armsys
Thu Oct 22, 2015 11:23 pm
Forum: Scripts and Tips
Topic: Controlling the Word 'Save As' drop-down list
Replies: 4
Views: 10442

Re: Controlling the Word 'Save As' drop-down list

Here's a macro that saves the current open .docx file as Filtered .htm. Hi Catman, Thank you for generously sharing of your amazing code of advanced techniques and coding tricks. In particular, I appreciate your extensive comments and readability, simplifying future maintenance and enhancement. Tha...
by armsys
Thu Oct 22, 2015 11:08 pm
Forum: Enhancement Suggestions
Topic: Write binary content to disk
Replies: 2
Views: 5581

Write binary content to disk

Currently Macro Scheduler offers only ONE narrowly limited capability to write binary content to disk thru: ScreenCapture>X1,Y1,X2,Y2,Filename. Therefore, at least, the capability of writing binary to disk is already existing within Macro Scheduler. Marcus, would you please offer a more general comm...
by armsys
Thu Oct 22, 2015 10:39 pm
Forum: Enhancement Suggestions
Topic: SetFocus>Window_Title[,Window_Class]
Replies: 1
Views: 4724

SetFocus>Window_Title[,Window_Class]

SetFocus>Window_Title[,Window_Class]
It would save users' tremendous time and effort in setting a focus to a particular window with potentially multiple similar name.
The Window_Class is handily exposed in Tool > View System Windows.
by armsys
Thu Oct 22, 2015 10:32 pm
Forum: Technical / Scripting
Topic: How to Setfocus to a Help File
Replies: 7
Views: 5799

Re: How to Setfocus to a Help File

Or this more technical method:... Hi Marcus, Thank you for quick reply. Thank you for taking time to write a robust, thorough, meticulous code for displaying msched.chm. Your code ALWAYS works perfectly. The core deficiency of all my previous attempts rests on my unknowing of the window class. Emba...
by armsys
Thu Oct 22, 2015 11:57 am
Forum: Technical / Scripting
Topic: How to Setfocus to a Help File
Replies: 7
Views: 5799

Re: How to Setfocus to a Help File

Hi Marcus, Of course I have tried WF_TYPE=2, handles, regex, GetActiveWindow, EditIniFile,....etc, whatever you could remotely imagine. None works. Would you please suffix the Help's window title with one magic word "Help", namely, "Macro Scheduler Help"? Thank you. Got to ask - what earthly reason ...
by armsys
Thu Oct 22, 2015 8:28 am
Forum: Technical / Scripting
Topic: How to Setfocus to a Help File
Replies: 7
Views: 5799

Re: How to Setfocus to a Help File

Almost all help files available in the universe are suffixed with "Help".
by armsys
Thu Oct 22, 2015 8:18 am
Forum: Technical / Scripting
Topic: How to Setfocus to a Help File
Replies: 7
Views: 5799

How to Setfocus to a Help File

How to setfocus to a help file such as MSCHED.chm?
The following code won't work.

Code: Select all

SetFocus>Macro Scheduler
by armsys
Mon Oct 19, 2015 9:12 pm
Forum: Technical / Scripting
Topic: ScreenCapture Bug
Replies: 5
Views: 4759

Re: ScreenCapture Bug

Thanks for your confirmation and clarification.
by armsys
Sat Oct 17, 2015 3:28 pm
Forum: Beginners
Topic: Chrome keyboard shortcuts list
Replies: 2
Views: 4267

Re: Chrome keyboard shortcuts list

Please try:

Code: Select all

Press CTRL
Press TAB
Release CTRL
by armsys
Sat Oct 17, 2015 10:18 am
Forum: Technical / Scripting
Topic: Unable to Restore Image
Replies: 25
Views: 17824

Re: Unable to Restore Image

When attempting to save the binary data (screen image) to disk, the code always pops an error message: Microsoft VBScript compilation error:1032 Invalid character Line 2, Column 35 VBStart Function SaveBinaryData(FileName, ByteArray) Const adTypeBinary = 1 Const adSaveCreateOverWrite = 2 'Create Str...
by armsys
Sat Oct 17, 2015 8:48 am
Forum: Technical / Scripting
Topic: Saving Binary to Disk
Replies: 0
Views: 4748

Saving Binary to Disk

Without being processed by BASE64, currently no MS command can save binary content directly to disk.
How to write a VBScript function to save binary content, such as screen image, to disk?
by armsys
Sat Oct 17, 2015 8:44 am
Forum: Enhancement Suggestions
Topic: Binary Content Support of GetClipboard+PutClipboard
Replies: 1
Views: 4530

Binary Content Support of GetClipboard+PutClipboard

Currently both GetClipboard and PutClipboard can only handle text.
Can the both commands be enhanced to support binary as well?
Sign up to our newsletter for free automation tips, tricks & discounts