Well, I think it is a great idea to make a .PDF file with the commands of Macro Scheduler.
But why only with the commands? It would be very useful a .PDF file with the complete manual of Macro Scheduler and not only the commands. As you can see, the help also contains other issues than commands.
Another issue, how do one work with arrays in MS?
Welcome to .PDF manual
Moderators: JRL, Dorian (MJT support)
Hi GT,
PMJI, you can't master Macro Scheduler by reading command_ref_7.1.pdf. Your ultimate knowledge base of Macro Scheduler is right here on http://www.mjtnet.com.
>Another issue, how do one work with arrays in MS?
Macro Scheduler's VBscript extension provides this feature and many more.
Wish you luck.
Cheers,
Armstrong Wong
Hong Kong
PMJI, you can't master Macro Scheduler by reading command_ref_7.1.pdf. Your ultimate knowledge base of Macro Scheduler is right here on http://www.mjtnet.com.
>Another issue, how do one work with arrays in MS?
Macro Scheduler's VBscript extension provides this feature and many more.
Wish you luck.
Cheers,
Armstrong Wong
Hong Kong
Simple MacroScript array examples:
Let>Names[1]=Fred
Let>Names[2]=Sally
Let>k=3
Let>Names[%k%]=Geoff
Let>k=1
Repeat>k
MessageModal>Names[%k%]
Let>k=k+1
Until>k,3
Re the manual - it is not a manual it is the MacroScript command reference and therefore details the MacroScript language. For general usage instructions for the software interface itself use the standard help system - just press F1.
Let>Names[1]=Fred
Let>Names[2]=Sally
Let>k=3
Let>Names[%k%]=Geoff
Let>k=1
Repeat>k
MessageModal>Names[%k%]
Let>k=k+1
Until>k,3
Re the manual - it is not a manual it is the MacroScript command reference and therefore details the MacroScript language. For general usage instructions for the software interface itself use the standard help system - just press F1.
MJT Net Support
[email protected]
[email protected]
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
I had a problem running the sample array script. (Using 7.1.12).
I was only getting a display that showed Names[1], etc.
I added two rows, modified the Message line, and increased Until count to 4. The result is here:
=============================
Let>Names[1]=Fred
Let>Names[2]=Sally
Let>k=3
Let>Names[%k%]=Geoff
Let>k=1
Repeat>k
//Added the next 2 rows
Let>Col=Names
Let>Name=%Col%[%k%]
//Modified the next row
MessageModal>%Name%
Let>k=k+1
//Increased count from 3 to 4
Until>k,4
=========================
The final result is a Message window that displays each of the names in the array.
I was only getting a display that showed Names[1], etc.
I added two rows, modified the Message line, and increased Until count to 4. The result is here:
=============================
Let>Names[1]=Fred
Let>Names[2]=Sally
Let>k=3
Let>Names[%k%]=Geoff
Let>k=1
Repeat>k
//Added the next 2 rows
Let>Col=Names
Let>Name=%Col%[%k%]
//Modified the next row
MessageModal>%Name%
Let>k=k+1
//Increased count from 3 to 4
Until>k,4
=========================
The final result is a Message window that displays each of the names in the array.
Hi Support,
Thanks for revealing the extened ARRAY support of Let>, which isn't mentioned in the manual.
On the other hand, based upon your sample code, in the absense of any declaration statement, are
If not, then Bob Hansen's code
won't work. Please enlighten us. Thanks.
Armstrong Wong
Hong Kong
Thanks for revealing the extened ARRAY support of Let>, which isn't mentioned in the manual.
On the other hand, based upon your sample code, in the absense of any declaration statement, are
actual array elements?Name[1], Name[2],..

If not, then Bob Hansen's code
Code: Select all
Let>Names[%k%]=Geoff
Armstrong Wong
Hong Kong
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact: