Error with Let>, ,,=missing

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
memilm
Junior Coder
Posts: 23
Joined: Fri Apr 28, 2006 1:01 pm

Error with Let>, ,,=missing

Post by memilm » Tue Jan 09, 2007 9:29 am

I just want to run a small compiled to exe script(MSched 8.1) on Windows NT Server and I'm getting always this start error message:

Macro Scheduler - Warning
Error with Let>, ,,=missing
OK Abort

here is my script:
Run Program>%SYS_DIR%\control.exe inetcpl.cpl,@0,4
Wait>1
Press ALT
Send Character/Text>l
Release ALT

Could you help me to solve this problem?

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

Post by Marcus Tettmar » Tue Jan 09, 2007 10:36 am

Both the script and a compiled version of it work fine for me. Is there something else at play here?
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

memilm
Junior Coder
Posts: 23
Joined: Fri Apr 28, 2006 1:01 pm

Post by memilm » Tue Jan 09, 2007 11:07 am

the exe run ok on my system but only after I press the "OK" button in the displayed error window.
the exe was created using the parameter " /HIDE, /NOSYSTRAY, /LOGFILE=\dev\nul".
if I use only " /LOGFILE=\dev\nul" it also works without error.

Could you check the code to see in what case will be displayed such an error?

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

Post by Marcus Tettmar » Tue Jan 09, 2007 11:09 am

Remove the commas. The commas should not be there.

If you use the options from the compiler screen it will put these options in for you. The correct line should be:

"/HIDE /NOSYSTRAY /LOGFILE=\dev\nul"
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

memilm
Junior Coder
Posts: 23
Joined: Fri Apr 28, 2006 1:01 pm

Post by memilm » Tue Jan 09, 2007 11:24 am

many thanks, the created exe works now ok.

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