Hello,
I am evaluating Macro Scheduler (which means I am brand new to it, so I apologise for potentially stupid questions). I created the code below, which returns an error upon trying to execute the very first command.
The .xs file (H:\Exceed\tasDEV.xs) is associated with an application (Exceed) and if I type H:\Exceed\tasDEV.xs in a DOS window, it starts up as it should.
The exact error message is: Error executing H:\Exceed\tasDEV.xs (11)
There is an OK and an Abort button. Both make the error window disappear but nothing else happens.
Any help would be highly appreciated!
Thanks,
Gabor
RunProgram>H:\Exceed\tasDEV.xs
WaitWindowOpen>tasdev*
IfWindowOpen>TASDEV
Goto>Su
Else
Wait>2
Send>mypassword
Endif
Label>Su
Send>su - oracle
Press Enter
Wait>1.08
Send>mypassword
Press Enter
Wait>1.02
Send>. .gabor
Press Enter
Error executing file
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Actually what you should do is use ExecuteFile not Run Program. Run Program runs a program or executable. To execute a file based on it's file extension you should use ExecuteFile:
ExecuteFile>H:\Exceed\tasDEV.xs
ExecuteFile>H:\Exceed\tasDEV.xs
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?