← Back to team overview

sikuli-driver team mailing list archive

[Question #214691]: Speed up while loop?

 

New question #214691 on Sikuli:
https://answers.launchpad.net/sikuli/+question/214691

my script
it scrolls down 1 step 1 second
even i put MoveMouseDelay =0.2
I guess its not because of the mousemove
its the script itself need to run faster

wait (3)
Settings.MoveMouseDelay = 0.2
reg = Pattern("ETASbyCountr.png").similar(0.90).targetOffset(0,1)
steps = 1 
while not exists(reg, 0):
     wheel(Location(416,422), WHEEL_DOWN, steps)

is there a way to make this script run faster?
thank you very much.


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