Sorry to keep asking so many questions...just new at it(and scripting in general)
I have a subroutine that just repeats indefinitely...how might you go about putting something in that SRT that runs on time after executed, even if macro gets stopped, machine rebooted, etc.
Example
SRT Running
//DoSomething
Wait 4 days 18 hours
//DoSomethingAgain
Continue SRT
Not asking anyone to write it for me...though I'll gladly take it and just reverse engineer it to inderstand it, but main goal is to learn it
THANKS for help last time Marcus, worked like a champ
Timed Repeat?
Moderators: JRL, Dorian (MJT support)
Re: Timed Repeat?
Or should I say MORE THAN 4 days 18hrs...because suppose could be 4days 19hrs till script came around to it
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Timed Repeat?
Have your macro store the run date in an INI file. First check the previously stored run date if any against today’s date and if less than 4 days apart exit. Schedule the macro to run every day.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?