sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #04390
Re: [Question #166999]: Run multiple Sikuli sessions on a computer?
Question #166999 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/166999
RaiMan proposed the following answer:
Sikuli does not interact with applications, it only acts on what is
visible on the screen.
The only exception is the App class, that to some extent allows to
"manage" apps and it's windows.
So if you manage somehow to have more than one instance off an app
running, you have to arrange in your script, that the right instance
gets the right actions (has focus in this moment).
It is possible, to use subprocessing (one Sikuli script thread for one
app instance). The challenge is to make the threads talk with each other
about temporary exclusive use of mouse and keyboard (locking features
are available with subprocessing).
Even more powerful features would be available if you worked on the Java
level (Scala, Groovy, plain Java or JRuby) with EventListeners.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.