← Back to team overview

sikuli-driver team mailing list archive

[Question #690568]: search for an image in parallel

 

New question #690568 on Sikuli:
https://answers.launchpad.net/sikuli/+question/690568

I have a script that runs real time according to what happens within a game.
The problem I face, is that I would like to always check if an image is appears, and if so, I would like to immediately  stop the execution of first script, and do something else.

I have tried to insert multiple checks in many places of the original script, but this is not really sufficient enough, and also seems to complicate the development of the script quite a lot.

I wonder if there is a way, to perhaps run another instance of sikuli in paralell with the first one, and then if the seconds catches that image, stop the execution of the first (or more ideally, stop the execution of the current command of the first script, and continue execution from another point).

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.