Possible to highlight an image?

Asked by xyz_User on 2020-02-17

I'm curious to know if it's possible to search an image, once found, highlight that image for a few seconds and then click or call other functions.

I know it's possible to highlight a specific region, via observer or if an image is detected, etc. But my goal is to actually highlight the image itself and not the region.

Hope I didn't repeat myself there :)

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
2020-02-18
Last query:
2020-02-18
Last reply:
2020-02-18
Best RaiMan (raimund-hocke) said : #2

Simply said: what you want to highlight, must be visible on the screen.

Then there are 2 possibilities:
- you know where it is: someRegion.highlight(...)
- you can find it: find(someImage).highlight(...)

So the answer is no, if your image is not visible on the screen.

xyz_User (userseven) said : #3

Thanks RaiMan, that solved my question.