← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #229680]: show a region on the screen

 

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

    Status: Open => Answered

Roman Podolyan proposed the following answer:
Of course.  They are even specified in the documentation (and I used
that with RC3 and it worked):

http://doc.sikuli.org/region.html#Region.highlight
highlight([seconds])

    Highlight the region for some period of time.
    Parameters:	seconds – a decimal number taken as duration in seconds

The region is highlighted showing a red colored frame around it. If the
parameter seconds is given, the script is suspended for the specified
time. If no time is given, the highlighting is started and the script
continues. When later on the same highlight call without a parameter is
made, the highlighting is stopped (behaves like a toggling switch).

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