← Back to team overview

sikuli-driver team mailing list archive

[Question #680134]: How to act on multiple changes in a region

 

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

Here is what I'm trying to do :

* This needs to be a continuous background process that allows mouse and keyboard interaction
* There are multiple regions being observed at once, but images only appear in one region at the time

This is not what the script is actually for, but it gives a good representation of what I'm trying to do :

1. I roll a die, which can appear on 3 different regions of the screen 
2. Script is idle and waiting for the image of the die to appear in any of these 3 regions
3. Then, perform a specific task based on which region the die appeared in, and what result it gave. 

I hope this is clear enough! I'm completely new to programming/scripting and despite reading the documentation, I couldn't figure it out.

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