← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #678755]: How To Print To Screen?

 

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

RaiMan posted a new comment:
not at the same time, but directly after the annotation has disappeared:

import guide as GD
Settings.MoveMouseDelay = 0 # no delay at mouse move
img = Pattern("img.png").targetOffset(9,15)
hover(img) # move mouse to found image 
# show annotation
reg = getLastMatch()
GD.rectangle(reg)
GD.text(reg, "clicking img.png")
GD.show(2)
# annotation vanished
click() # clicks the last match

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