← 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:

while not exists("loadmorecomm-2.png",0):
        type(Key.PAGE_DOWN,0) 

while exists("loadmorecomm-2.png",0):
        click("loadmorecomm-2.png",0)
        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.