I am reading a line in a text file to see if it needs to be updated. If it does not, I want to stop the macro.
Everything I find about Stop is referring to using the Stop button in the MS interface or the one in the system tray.
Thanks,
Josh
If> X, Stop Macro
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Either jump to a label at the end of the script. Or just use the Exit command:
1)
2)
1)
Code: Select all
If>x=something
Goto>end
Endif
..
.. rest of script here
..
Label>end
Code: Select all
If>x=something
Exit>0
Endif
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?