How could I detect an image on the screen and then act on that detection? For example, if I was running the script (applescript), and looked for the stackoverflow icon and loaded this page, the program would show an alert, then pause the program for 5 seconds, then go back to the original detect image script.
Share
You might take a look at Sikuli – vanilla AppleScript does not know anything about low level stuff like images or screens.