sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #21961
[Question #237875]: How to get sync between two batch file running of Sikuli scripts
New question #237875 on Sikuli:
https://answers.launchpad.net/sikuli/+question/237875
Hi,
In this scenario, I have two machines, machine A & machine B for which I have two batch files A and B respectively where I have included the collections of projects in the same format as :
---------------------------------------------------
@ECHO OFF
REM Runs all my projects
call C:\SikuliX\runIDE.cmd -r D:\MyWorkSpace\p1.sikuli
ECHO Ran project 1
call C:\SikuliX\runIDE.cmd -r D:\MyWorkSpace\p2.sikuli
ECHO Ran project 2
---------------------------------------------------
And the issue here is that project1 in A and project1 in B are related ones project2 in A and project2 in B are related ones and so on. So, is there any mechanism by which I could tell my batch file in the machine A to wait launching project1 until my project1 also starts up in machine B, and vice versa because I need all these combinations(pjct1 in A & pct1 in B, pjct2 in A & pjct2 in B) to be started together.
Or can this sync be done in the Sikuli script itself, but the only thing which I know to pass info between two scripts is an xml-rpc call but if project1 script in A is not yet launched and the project1 script in B is launched, then I cannot make an xml-rpc call from B to A.
Thanks.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.