← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #169911]: stop clicking on the spot where it is clicked before

 

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

RaiMan posted a new comment:
sorry for some rubbish: the mousemove() is not really needed

this would be sufficient:

loc = Location(some-x, some-y) # or any other location

for i in range(10)
    click(loc)
    offsetX = i*3 # these you might randomize again
    offsetY = i*3
    x = loc.x + offsetX
    y = loc.y + offsetY
    loc = Location(x,y)

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