search for an image in parallel
Asked by
ALEXANDROS SKAMPARDONIS
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 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 parallel 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).
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- masuo
- Solved:
- Last query:
- Last reply:
To post a message you must log in.