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

    Status: Open => Answered

RaiMan proposed the following answer:
at 1: Region(...) ...
only defines a Region.
to use it later, you have to assign it to a variable:
spot = Region(...)

then use the spot region with any region function

if spot.exists(someImage): # check the status
    spot.click(someButton) # to focus
    type(Key.SPACE)

this might also answer your question 2

at 3: Run in Slow Motion made the finder faster like by 60% ...
Cannot be, since slow motion mode only affects the click operation (shows the 
target before actually clicking) and not the find process itself.
Might be that in slomo your game has more time to arrange the screen.

Supposing you are using 1.1.0, the the docs might be helpful.
especially:
http://sikulix-2014.readthedocs.org/en/latest/basicinfo.html#sikulix-how-does-it-find-images-on-the-screen

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to