← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #270186]: Linux highlight

 

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

Eugene Maslov proposed the following answer:
Hi,
I use under Linux the following function.
Also it often helps to avoid problems under Windows,  because highlight() always kills extended menus under Windows.

def showByMouse(reg):
        hover(reg.getTopLeft())
        hover(reg.getTopRight())
        hover(reg.getBottomRight())
        hover(reg.getBottomLeft())
        hover(reg.getTopLeft())

showByMouse(Region(10,10,100,100))

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