I'm NOT a pro; working with PULOVER; need to ABORT the search and move on with script if pixel not found after certain time
Macro:
1|[Label]|first|0|Label||||||
78|Continue, Continue, FoundX, FoundY|20, 20, 20, 20, 0xF0F0F4, 0, Fast RGB|1|0|PixelSearch|UntilFound|Window||||
***If pixel was found here, script will move on; need to abort search after 5 minutes if not found (NOW IT'S STUCK FOREVER IN SEARCH) and do:
79|If Image/Pixel Not Found||1|0|If_Statement||||||
80|[Goto]|first|1|0|Goto||||||
81|[End If]|EndIf|1|0|If_Statement||||||
*** but if pixel was found within 5 minutes, script will move on anyway
Thanks a lot for your help!
[Mod action: Topic moved from "Ask for Help (v2)" because the help being sought is regarding the Pulovers Macro Creator app, not AutoHotkey.]
pixel, UntilFound; but abort in 5 min. if NOT found
Moderator: Pulover
-
- Posts: 1
- Joined: 16 May 2024, 13:43
-
- Posts: 130
- Joined: 12 Nov 2022, 15:47
Re: pixel, UntilFound; but abort in 5 min. if NOT found
Look at my post here:Joseph Matt Graham wrote: ↑16 May 2024, 14:20I'm NOT a pro; working with PULOVER; need to ABORT the search and move on with script if pixel not found after certain time
viewtopic.php?f=63&t=129889
So using that example, if your delay is 1000ms (searching every second), you would loop 300 times to get 5 mins of search time before ending script.
It was the best of times, it was the worst of times...