← 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:
--- comment #5
 http://joxi.ru/48AnayqCoGBz2О;  link does not work (404)

--- dragons_world
I had a look at this game.
If you manually click the same spot with a faster rate, then the clicks are no longer recognized.

I tried the same with SikuliX:

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

Settings.MoveMouseDelay = 0.2 # the pause between clicks
for i in range(6):
  click(mSpot) # click the spot
  
hover(aboveAt()) # move to top middle of screen

with shorter pauses between clicks as 0.2, the clicks are not correctly
recognized

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