Visualize image search area at execution time.

Advanced Macro Recorder/Editor.

Moderator: Pulover

Posts: 27
Joined: 01 Dec 2018, 08:51

Visualize image search area at execution time.

06 Jan 2019, 08:18

When selecting the region for image search (by right clicking and drawing the rectangle) a red line is displayed showing the selected area until the right mouse button is release, at which point the coordinates of the rectangle are read and written in the 'regions start' and 'region end' as xy-coordinates.

That's fine and it works.

I have a 'cascade' image search: first I search for an image with hard coded 'search region'. When the first image is found I use the returned %FoundX% and %FoundY% coordinates to calculate the region for the second search. This last search region is in very different parts each time.

I would like to visualize (at execution time) this last dynamically created search region by means of a colored rectangle, similar to how a rectangle is displayed when a region is selected by hand as in the beginning of my description.

Is there a way to do that?

Return to “Pulovers Macro Creator”

Who is online

Users browsing this forum: No registered users and 3 guests