← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #179795]: can't figure out looping

 

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

Description changed to:
I want to scan through a page looking for an image.
when image is found, 
click the image,
 then keep scanning.

after looking through these sections I have this:

found = True
while not exists("loadmorecomm-2.png"):
    type(Key.PAGE_DOWN)        
if found:
    click("loadmorecomm-2.png")\
    type(Key.HOME)

this doesn't do it, because I can't figure out how to get it to start
over.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.