This free software allows users to simulate mouse clicks, including double and control clicks, at any desired screen location.
One of the easiest ways to use Cliclick is by emulating a single click. Users can pass two integers as arguments to the app; where the first integer is used horizontally and as the x-coordinate, while the second is used vertically, for the y-coordinate. The upper left corner of the screen represents the 0/0 point.
When several clicks are required, you can pass several whitespace-separated pairs of x/y coordinates. In that case, it can be beneficial to let your Mac pause for a few milliseconds between events, which can be achieved using the option -w. To get a double click, you can prefix the x-coordinate with a "d." To emulate a Control-click, usually to open the contextual menu, you can use "c" as a prefix.
For instance, users can enter commands like cliclick 26 11, which clicks the screen coordinate 26/11. This command will have the same impact as clicking the apple menu with the mouse click. Additionally, users can type cliclick -w 50 26 11 26 33, which first clicks the screen coordinate 26/11, waits 50 milliseconds, and then clicks 26/33, which opens the "About this Mac" panel.
To simulate a Control-click, users can type cliclick 50 60 c70 80 to click at 50/60, then Control-click at 70/80. Alternatively, users can type cliclick d50 60 to double click at 50/60. Those who are uncertain about commands or want more clarification can easily display the help by invoking cliclick with the -h switch, i.e., cliclick -h.
However, users should exercise caution when using Cliclick as it may cause damage or data loss. If for any reason this occurs, it is their responsibility, and the software is provided as is.
Version 1.2: N/A