← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #219739]: Types more than once - need to wait for image to vanish

 

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

j posted a new comment:
To optimize the speed of your script, you could also use:

while True:
    match = exists("V.png")
    if match:
        type("F")
        match.nearby(10).waitVanish("V.png")

As always this is just an addition to RaiMan's already great answer ;-)

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