I just upgraded to 10.1.21 and was running a script and it now gives me an error when it comes to this line. It never did before and I have a similar line in numerous scripts.
The error says "Cannot read Script as Boolean"
If>{Upper(%filename%)}=MSPVIEW.EXE,modicheck
Has there been a syntax change?
Issue with Upper
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
It should be:
If>{Upper(%filename%)="MSPVIEW.EXE"},modicheck
I also prefer to use If / Else / Endif rather than labels.
If>{Upper(%filename%)="MSPVIEW.EXE"},modicheck
I also prefer to use If / Else / Endif rather than labels.
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?