How to disable highlighting of left-click action when a macro is running in normal mode

Asked by Sergey

Hi guys. Please advice how to disable left-click highlighting. You can see it if run click(find(123.png)) action in slow motion. The problem is I see this highlighting even when I run my macro in normal mode. Here should be a special setting to switch it off, I suppose.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Sergey
Solved:
Last query:
Last reply:
Revision history for this message
Eugene S (shragovich) said :
#1

Not sure what highlight are you referring to..

Highlight is generally a Region method that displays a red frame around the pattern on the screen, for example:
find(pattern).highlight(1)

Now you are talking about mouse click highlighting which I am not sure what it is. Perhaps you mean the red crossed circle that appears on the area that is going to be clicked? If so, you can use:

Settings.setShowActions = false

Revision history for this message
Sergey (sku144) said :
#2

yes, the red crossed circle I consider as highlightion. and Settings.setShowActions = false is the answer. thank you!!!

Revision history for this message
Sergey (sku144) said :
#3

1