Run macros at high priority to increase response time

Example scripts and tips (replaces Old Scripts & Tips archive)

Moderators: Dorian (MJT support), JRL, Phil Pendlebury

Post Reply
User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Run macros at high priority to increase response time

Post by Marcus Tettmar » Wed May 07, 2008 9:53 am

Submitted by: William Mitchell - [email protected]

Here is a tip on how to make interpreted macro execution speed much more constant. You can always make macro WAITs longer but what can you do to control a Command Window program if the interpreter itself is being delayed by Windows activity? You just run Macro Scheduler with a higher Windows priority. One easy way to set the process priority is to launch the macro from a batch file.

TIP: To run an existing macro that controls an old DOS program and set the Macro Scheduler priority to HIGH, paste the text below (quotes and all) into a 1-line LaunchMacro.BAT file.

cmd /c "cd \Program Files\MJT Net Ltd\Macro Scheduler\ && start /high Msched.exe C:\My Documents\Macro Scheduler\Frac.scp"

Edit the directory and file names as needed then run the .BAT File right from your desktop or create a Shortcut to it if you want to choose a different Icon.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

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