← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #234584]: How to action for sequence of vertical pictures lined up

 

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

RaiMan proposed the following answer:
Uuups,not yet, but now:


def doing_something(t):
    rightClick(t)

t = find ("pic1.png").getCenter() # this is the starting mouse point

for k in range(100): # loop 100 times
    doing_something(t)
    t = t.below(10) # next clickpoint is 10 pixel below current

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