Images as a variable?

I am wondering if there is any way to set an image as a variable. I am trying to run routines relative to certain image locations on the screen, and would simply like to change the image and rerun the routine. However, the routine requires positioning relative to the image.

How is the image displayed? Geektools, Preview, Aperture, Desktop, or what?

Hey Ed,

I think you’re wanting the Find Image On Screen action.

You cannot cycle different images through that action, but you can create multiple versions of it and call them from a macro.

-Chris

Following Chris' suggestion, you might try something like this.
You can keep adding "Find Image on Screen" and "If All Conditions Met..." for as many images as you'd like to test for.

Sorry Guys… just seeing these responses… Appreciate it. I will test this out.