← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #678626]: Switching off all currently active highlighting

 

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

Rainer posted a new comment:
Did some testing, the functionality seems to basically work, although I
am not sure whether it works as intended everywhere  :)

I noticed a couple of things:

highlightOff() turns green in the IDE (so it is correctly recognized),
whereas highlightOn() and highlightAllOff() stay black (although they
work as expected).

reg.highlight("GREEN") → reg is highlighted in green as expected
reg.highlight("BLUE") → reg highlight color is not changed to blue, instead the green highlight is cancelled.
Is this the intended behavior?

reg.highlight("GREEN") → reg is highlighted in green as expected
reg.highlight(1, "BLUE") → reg is highlighted in blue for one second, than is highlighted in green again and stays that way
Is this the intended behavior?

reg.highlight("GREEN") → reg is highlighted in green as expected
reg.highlightOff() → highlight is cancelled as expected
reg.highlightOn() → (no color parameter)  highlight is turned on in red, not in the last used color
Is this the intended behavior?

Regards,
Rainer

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