How can create an image loop search with PMC ?

Advanced Macro Recorder/Editor.

Moderator: Pulover

LittleCupcake
Posts: 2
Joined: 19 Jun 2023, 18:01

How can create an image loop search with PMC ?

19 Jun 2023, 18:07

I want to create a macro that searches for an image if found do a mouse click if not move on to search for another image and loop. it might have to so 20 to 30 images search.
LittleCupcake
Posts: 2
Joined: 19 Jun 2023, 18:01

Re: How can create an image loop search with PMC ?

19 Jun 2023, 22:49

I was going with this but does not work it only execute marco 1 but does move to macro 2
image.png
image.png (41.47 KiB) Viewed 1108 times
image.png
image.png (32.37 KiB) Viewed 1108 times
rockitdontstopit
Posts: 86
Joined: 12 Nov 2022, 15:47

Re: How can create an image loop search with PMC ?

20 Jun 2023, 14:49

LittleCupcake wrote:
19 Jun 2023, 22:49
I was going with this but does not work it only execute marco 1 but does move to macro 2
On the PMC file line 3 it shows that you checked "repeat until found". If the image exists it will repeat the search in specified area until it is found. If the image does not exist, it will just infinitely loop and you'll see an "hour glass" icon in the system tray.

Uncheck "repeat until found" on line 3. And then maybe set a delay of 1000-2000ms on line 3 to give the search algorithm enough time to look for the image. Make the search area smaller if you know the general position of the image. Use message box to see if the algorithm is finding an image or not finding an image, for test purposes.

Return to “Pulovers Macro Creator”

Who is online

Users browsing this forum: No registered users and 5 guests