I’ve been working on a new command line tool to do stuff with your mouse. Today I released it so feel free to use it. You can get it here. There are several applescript examples on the linked web page to show how to use it.
It can do the following:
- get current mouse coordinates
- jump your mouse to given coordinates
- move your mouse slowly to the given coordinates so it glides across the screen
- perform left-clicks, right-clicks, or left-clicks with modifier keys down at given coordinates
NOTE: all features can be performed using coordinates based on either the lower-left or upper-left part of the screen.
Since I’ve seen several people want to perform mouse clicks or get mouse coordinates I thought people might be interested in this.