← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #287456]: fast clicking

 

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

peter hasselby gave more information on the question:
please someone help me.

for about 3 yrs ago i made sikuli do the same thing/script. then it took
only 2 seconds. now it takes 11 seconds. And i cant remember how i did
it then.

my script is as following.

Settings.MoveMouseDelay = 0
for i in range(1000):
    hover(Location(701,301))
    mouseDown(Button.LEFT)
    hover(Location(806,301))
    mouseUp(Button.LEFT)
    hover(Location(836,300))
    mouseDown(Button.LEFT)
    hover(Location(865,300))
    mouseUp(Button.LEFT)
    
    hover(Location(896,300))
    mouseDown(Button.LEFT)
    hover(Location(984,300))
    mouseUp(Button.LEFT)
    
    hover(Location(700,316))
    mouseDown(Button.LEFT)
    hover(Location(792,316))
    mouseUp(Button.LEFT)
    
    hover(Location(911,316))
    mouseDown(Button.LEFT)
    hover(Location(985,316))
    mouseUp(Button.LEFT)

    hover(Location(700,331))
    mouseDown(Button.LEFT)
    hover(Location(791,330))
    mouseUp(Button.LEFT)
    
    hover(Location(911,330))
    mouseDown(Button.LEFT)
    hover(Location(985,330))
    mouseUp(Button.LEFT)
    
    hover(Location(700,346))
    mouseDown(Button.LEFT)
    hover(Location(790,345))
    mouseUp(Button.LEFT)
    
    hover(Location(911,345))
    mouseDown(Button.LEFT)
    hover(Location(985,345))
    mouseUp(Button.LEFT)
    
    hover(Location(701,360))
    mouseDown(Button.LEFT)
    hover(Location(790,361))
    mouseUp(Button.LEFT)
    
    hover(Location(910,361))
    mouseDown(Button.LEFT)
    hover(Location(985,360))
    mouseUp(Button.LEFT)
    
    hover(Location(700,375))
    mouseDown(Button.LEFT)
    hover(Location(805,375))
    mouseUp(Button.LEFT)
    
    hover(Location(895,375))
    mouseDown(Button.LEFT)
    hover(Location(985,375))
    mouseUp(Button.LEFT)
    
    hover(Location(700,391))
    mouseDown(Button.LEFT)
    hover(Location(790,390))
    mouseUp(Button.LEFT)
    
    hover(Location(910,391))
    mouseDown(Button.LEFT)
    hover(Location(985,391))
    mouseUp(Button.LEFT)
    
    hover(Location(700,406))
    mouseDown(Button.LEFT)
    hover(Location(775,406))
    mouseUp(Button.LEFT)
    
    hover(Location(925,406))
    mouseDown(Button.LEFT)
    hover(Location(985,405))
    mouseUp(Button.LEFT)
    
    hover(Location(699,421))
    mouseDown(Button.LEFT)
    hover(Location(775,421))
    mouseUp(Button.LEFT)

    hover(Location(925,421))
    mouseDown(Button.LEFT)
    hover(Location(986,420))
    mouseUp(Button.LEFT)
    
    hover(Location(700,436))
    mouseDown(Button.LEFT)
    hover(Location(699,586))
    mouseUp(Button.LEFT)
    
    hover(Location(715,436))
    mouseDown(Button.LEFT)
    hover(Location(715,586))
    mouseUp(Button.LEFT)
    
    hover(Location(730,480))
    mouseDown(Button.LEFT)
    hover(Location(731,586))
    mouseUp(Button.LEFT)
    
    hover(Location(745,480))
    mouseDown(Button.LEFT)
    hover(Location(745,586))
    mouseUp(Button.LEFT)
    
    hover(Location(760,479))
    mouseDown(Button.LEFT)
    hover(Location(761,586))
    mouseUp(Button.LEFT)
    
    hover(Location(775,481))
    mouseDown(Button.LEFT)
    hover(Location(776,587))
    mouseUp(Button.LEFT)
    
    hover(Location(745,451))
    mouseDown(Button.LEFT)
    hover(Location(955,450))
    mouseUp(Button.LEFT)
    
    hover(Location(805,465))
    mouseDown(Button.LEFT)
    hover(Location(806,586))
    mouseUp(Button.LEFT)
    
    hover(Location(820,465))
    mouseDown(Button.LEFT)
    hover(Location(820,586))
    mouseUp(Button.LEFT)
    
    hover(Location(835,465))
    mouseDown(Button.LEFT)
    hover(Location(835,586))
    mouseUp(Button.LEFT)
    
    hover(Location(850,466))
    mouseDown(Button.LEFT)
    hover(Location(850,585))
    mouseUp(Button.LEFT)
    
    hover(Location(864,466))
    mouseDown(Button.LEFT)
    hover(Location(866,586))
    mouseUp(Button.LEFT)
    
    hover(Location(881,465))
    mouseDown(Button.LEFT)
    hover(Location(880,585))
    mouseUp(Button.LEFT)
    
    hover(Location(895,465))
    mouseDown(Button.LEFT)
    hover(Location(895,585))
    mouseUp(Button.LEFT)
    
    hover(Location(925,480))
    mouseDown(Button.LEFT)
    hover(Location(925,585))
    mouseUp(Button.LEFT)
    
    hover(Location(940,480))
    mouseDown(Button.LEFT)
    hover(Location(940,585))
    mouseUp(Button.LEFT)
    
    hover(Location(956,480))
    mouseDown(Button.LEFT)
    hover(Location(956,586))
    mouseUp(Button.LEFT)
    
    hover(Location(970,480))
    mouseDown(Button.LEFT)
    hover(Location(970,586))
    mouseUp(Button.LEFT)
    
    hover(Location(985,435))
    mouseDown(Button.LEFT)
    hover(Location(986,586))
    mouseUp(Button.LEFT)
    
    click(Location(849,315))
    click(Location(850,330))
    click(Location(850,346))
    click(Location(835,390))
    click(Location(865,391))
    click(Location(850,420))

    wait("1456920849969-1.png",20)
    click("1456920866365-1.png")
    wait(1)
    click(Location(599,355))

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.