Hey there!
I have a function that does a pixel search. If it finds the pixel in the search it continues on with the script. What IF statement would I make to stop or break the function from continuing if the pixel is not found and go back to the point where it left off in the macro?
I've tried break and stop in if pixel/image not found and they seem to break/stop the entire macro not just the function.
Thanks!
-Hanszilla
Stop function if nothing is found in pixel search....
Moderator: Pulover
Re: Stop function if nothing is found in pixel search....
Breaks work inside loops. You can use function return to stop a function.
Rodolfo U. Batista
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer)
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer)
Return to “Pulovers Macro Creator”
Who is online
Users browsing this forum: No registered users and 6 guests