I’m trying to write a macro for a game under Mac OS X but am not sure if ActionScript is what I need for the job. Basically, what the macro has to do is equivalent to:
- press a key down
- wait for a graphical event (a colored spot) to appear
- detect the on-screen coordinates of the spot (based on the RGB pixel value)
- shift-right-click (or shift-control-click) on the spot
Is ActionScript what I need? If so, where could I look for more information (GUI scripting from accessibility framework does not seem to suit these needs)?
Any other suggestion would be greatly appreciated.
Thanks a lot in advance