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

Kevin posted a new comment:
I'm still having a bit of a problem actually.
I want it to keep pressing RIGHT until the image appears and then to click the 
image and go back into the loop.

The following script only presses the arrow button once and then moves
onto the "else" part

while True:

(MAIN SCRIPT PRESENT)

if not Region().exists(.png):
       type(Key.RIGHT)

else:
click(.png)

(repeat script)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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