Gargantilla wrote:So basically have all three imagesearches in a row (each on different lines and indented) and have each have an errorlevel = 0 to continue to the next imagesearch (until all have been checked and it sends , or have an errorlevel = 1 to skip to the bottom of the script where I’ll send [w]?
Is there any way to make this code smaller? If I plan on adding more than Images A, B, and C I could see it getting very long.
Instead of:
Imagesearch Image A
If Errorlevel= 0
Continue
So on and so forth until send
If errorlevel = 1
Send [w]
Could I make it:
Imagesearch A, Imagesearch B, Imagesearch C
If Errorlevel= 0
Send,
If Errorlevel= 1
Send, [w]
When you say "Instead of", that version doesn't work either. You haven't tried to implement what I said. Rather than explaining what's wrong with what you proposed, how about re-reading my reply and trying what I said?