Making a macro to change Macro Scheduler

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
mileage

Making a macro to change Macro Scheduler

Post by mileage » Sun Nov 21, 2004 2:19 pm

I have a ticksheet that the macro scheduler makes light work of during my night shifts, however sometimes we have changes that mean numerous macros can't be started till the changes have been made to the network, how do I go about clicking on "change" button or whatever and making it change the specified macros to not me scheduled ? I'm getting pretty good at this MS thing, and would appreciate any help with the method, I think I'll manage the code bit myself.... maybe.

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Sun Nov 21, 2004 4:49 pm

Use a flag in an INI file. Have the macros check this when they start and exit if the flag is set (or vice versa). Have a macro that sets/unsets this flag which you run when you want to disable/reenable the other macros.

So no need to change the schedules. Leave the schedules as is and simply modify the macros to check whether they should run or not.
MJT Net Support
[email protected]

mileage

Post by mileage » Tue Nov 23, 2004 12:17 am

That should work fine, good idea, cheers.

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