cliclick - Command Line Interface Click
Version 1.3.1
Carsten Bluem, 2010-04-13
Usage: cliclick [-v] [-r] [-q] [-w n] x y [x2 y2] [x3 y3] [...]
x and y are integer numbers which specify the screen coordinate(s)
where the mouse click(s) should be emulated. (Upper left corner is 0 0)
Instead of a number, you may pass "m" as x and / or value to
use the current x and / or y position.
If you need a doubleclick, prefix the x coordinate with "d".
If you need a control click, use prefix "c".
Options:
-w <n> You can pass multiple coordinate pairs as argument. But if you do,
it is often useful to have a small delay between events -- that is
what the -w option is for: It will cause cliclick to wait for the
specified number of milliseconds after each event.
-q Instead of clicking, print the current mouse pointer.
location on the screen (format "x,y") and exit.
-r Restore initial mouse location after performing the clicks.
-v Makes cliclick more verbose.
Examples:
'cliclick 26 12' will click the apple menu
'cliclick 50 60 c70 80' will click at 50/60, then Control-click at 70/80
'cliclick d50 60' will doubleclick at 50/60
'cliclick dm m' will doubleclick the current mouse location
'cliclick c500 m' will control-click at x position 500 and
the mouse's current y position.
'cliclick -w 50 26 11 26 33' will open the "About this Mac" panel
'cliclick -r 26 12' will click the apple menu and, afterwards,
restore the initial mouse location.
'cliclick -q' will print the current mouse location.
Yvan KOENIG (VALLAURIS, France) jeudi 12 décembre 2013 09:51:13