tinyapps.org / blog

Automate mouse clicks in OS X's Terminal #

with Carsten Blüm's cliclick 2.1, which emulates mouse and keyboard events like moving the cursor, clicking, command clicking, and more. Running it in an infinite loop like so:

while : ; do cliclick c:. ; done

came in handy for a game that required a rapid succession of clicks.

A more practical example can be found in the included "Read me.html":

cliclick c:28,11 w:500 m:28,35 w:1000 kd:alt w:1000 c:. ku:alt

/mac | Dec 21, 2012

Subscribe or visit the archives