← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #268206]: How does Settings.ClickDelay?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Thanks for the correct link (I used another "house").

Ok, might have been misunderstanding:

I had no problems with the above snippet just using the standard
settings like this:

App("Safari").focus()
spot = "spot.png"
mSpot = find(spot)
hover(mSpot) # move to a spot that accepts clicks

for i in range(6):
  click(mSpot) # click the spot

hover(aboveAt()) # move to top middle of screen

this works as expected: selects and deselects 3 times (same as clicking
slowly manually 6 times)

I added 
Settings.MoveMouseDelay = 0.2 # the pause between clicks

to find out, how fast one can click repeatedly.

so I did not reduce speed of the mouse, but made it faster.

BTW: what is your system/browser environment?

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