← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #204112]: Running 2 sikuli scripts simulataneously present in two different workstations

 

Question #204112 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/204112

    Status: Open => Answered

RaiMan proposed the following answer:
--- Is this feasible?
Of course ;-) But rather complex, since you need some kind of inter process communication.

The easiest way would be to implement this outside the script in a command file, adding and removing some null-content file on the respective machine. 
So you might wait inside the script on machine 1 until the file on machine 1 exists or vanishes (your choice) and then does its job. After finishing you manipulate the file on the other machine and the same happens on machine 2 - and so on.
You might script this totally inside the scripts as well.

You might as well try to implement some unix style network piping, some
XMLRPC solution or even a HTTP based communication (but I think this is
too much effort for your case).

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.