Easy text commands for common macros

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
Tim

Easy text commands for common macros

Post by Tim » Fri Dec 31, 2004 2:58 pm

I'm a noob, but thought other inexperienced Macro Scheduler users might find this useful. I don't like using keyboard shortcuts for macros and instead wanted to use commands (mnemonics.) I wrote this little macro and it's perfect for the common PC stuff I do all the time. ALT-F1 brings up an input box to key my command. I created an HTML page stored on the local drive with a list of the commands I created, which shows when lower-case L is entered. Not fancy, but this was the only ActiveWords feature I was missing in Macro Scheduler!

Input>mr,Macro to run

Remark>HTML page of available mnemonics
If>mr=l
Execute File>c:\workdir\MacroList.htm
wait>2
SetFocus>Macro Shortcuts*
goto>finish
endif

Remark>My Computer
If>mr=myc
Execute File>C:
goto>finish
endif

Remark>Word
If>mr=word
Run Program>C:\Program Files\Microsoft Office\Office10\winword.exe
goto>finish
endif

Remark>Netscape Radio
If>mr=radio
Run Program>C:\Program Files\Radio@Netscape\[email protected]
goto>finish
endif

Remark>Outlook
If>mr=mail
Run Program>C:\Program Files\Microsoft Office\Office10\OUTLOOK.EXE
goto>finish
endif

Remark>Calculator
If>mr=calc
Run Program>calc.exe
goto>finish
endif

Remark>Macro not found - send message
Let>mt=No macro on file:
Concat>mt,mr
MessageModal>mt

label>finish

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts