This works for me:
repeat 20 times
if imageFound("RedWebDelete") then
DoubleClick foundImagelocation()
Click "ConfirmWebDelete"
end if
end repeat
However, sometimes only 2 or 3 of the “RedWebDelete” images mentioned above are present. My script then goes through 18 unnecessary IFs… anyway to tell it that if there are NO MORE “RedWebDelete” images to end the IF?
See what I mean? Thanks!