← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #667481]: How to speed up script

 

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

    Status: Answered => Open

Adam Sycko is still having a problem:
Ok much thanks to you but i read whole
http://sikulix-2014.readthedocs.io/en/latest/region.html#finding-
inside-a-region-and-waiting-for-a-visual-event and i cant understand how
i can do this. Can you explain me how i can implement this "smaller
region" ?

Settings.MoveMouseDelay = 0
for step in range(99999):
    wait("1522690717340.png", 99999999999)
    click(getLastMatch())
    sleep(1.0)
    type("e")
    sleep(0.1)
    type("f")
    sleep(10.0)
    wait(Pattern("1522496447516.png").targetOffset(19,-189), 99999999)
    click(Pattern("1522496447516.png").targetOffset(19,-189))
    sleep(0.2)

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