sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #21810
Re: [Question #237460]: [Howto] Running multiple Sikuli scripts using a batch file
Question #237460 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/237460
Summary changed to:
[Howto] Running multiple Sikuli scripts using a batch file
Description changed to:
******** from comment #1
I use "call" in my batch files... see here http://ss64.com/nt/call.html
@CALL c:\SikuliX\runIDE.cmd -r c:\SikuliX\testprogram1.sikuli
@CALL c:\SikuliX\runIDE.cmd -r c:\SikuliX\testprogram2.sikuli
--------------------------------------------------------------------------------------
Hello all,
I have a similar issue with wanting to run multiple Sikuli scripts from
a batch file.
I have found this question
https://answers.launchpad.net/sikuli/+question/237151 which I tried to
implement, however, it does not seem to be successful.
Here is my batch file:
@echo off
echo Installing software ...
echo.
echo.
start /i /b /wait c:\SikuliX\runScript.cmd -r c:\SikuliX\testprogram1.sikuli
start /i /b /wait c:\SikuliX\runScript.cmd -r c:\SikuliX\testprogram2.sikuli
echo.
echo.
pause
echo Done.
The issue that I am experiencing is that testprogram1.sikuli would run, but when finished, the command prompt window would still be open sitting at the command prompt waiting of input.
If I type 'exit' at the command prompt, the batch script would continue and rung testprogram2.sikuli.
Any suggestions would be greatly appreciated.
Thanks!
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.