← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #167081]: How to get rid of the highlight box?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
You can purge all visible highlight()'s at any time using:
ScreenHighlighter.closeAll()

Place it before any script exit and you are safe for this.

For exceptions, that stop the script, the only chance is to wrap the whole script in a generic try: block and put 
ScreenHighlighter.closeAll() into the except: branch.

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