← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #694198]: Check Duration of Blinking Image?

 

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

Manfred Hampl proposed the following answer:
Region.waitVanish might be a better method, maybe something like

Region.wait(Image)
starttime = time.time()
Region.waitVanish(Image)
duration = time.time() - starttime

Note: If you just check if the image is there after X seconds, then it
might have disappeared and re-appeared in between.

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