Cliclick 4 Beta 3 released

A third beta version (download) for cliclick 4 is available for testing. Compared to beta 2, there are a few improvements, changes and fixes. Below is a summary of everything which has changed since the most recent “official”, stable release (version 3.3):

Output destinations

Cliclick uses appropriate output destinations for error messages, which means they are now written to stderr, and no longer to stdout.

Moreover, the destination of output from the “test” or “verbose” mode (option -m) can be sent to stdout (default), to stderr, to the clipboard or a file. The syntax is -m test:stdout (or simply -m test, which is identical to the pre-v4 syntax and behavior), -m test:stderr, -m test:clipboard or -m test:/path/to/file.txt. This all applies to -m verbose, too.

Finally, the output destination for informational commands (currently: the “print” and “color picker” commands) can be selected using the -d option: -d stdout (default, if unspecified), -d stderr, -d clipboard or -d /path/to/file.txt.

Note: When writing the output to the clipboard, the clipboard’s current content is initially cleared, then all output is appended.

Right-clicking

Cliclick got the ability to right-click, which can be invoked using command rc (for instance: cliclick rc:123,456 for clicking at point with x position 123 and y position 456).

“Human” mouse movements

Cliclick now has the ability to let mouse movement appear more “human” by setting an easing factor, which is done using the new -e option (example: cliclick -e 100 c:300,200 c:500,400). To quote the description you will get when running cliclick -h:

Set an easing factor for mouse movements. The higher this value is (default: 0), the more will mouse movements seem “natural” or “human-like”, which also implies: will be slower. If this option is used, the actual speed will also depend on the distance between the start and the end position, i.e. the time needed for moving will be higher if the distance is larger.

Dragging improvements

The code for dragging (dd and du commands) had an issue which could cause it to fail. This is now fixed, so if you tried to emulate dragging with cliclick before, but didn’t succeed, chances are that you will have more success now.

Note: when dragging, it can be helpful to use the easing feature (see above).

Execution slow-down

When using cliclick, sometimes it is needed to use the “wait” command to slow execution down, as naturally, cliclick can act much faster than a human. To decrease the likeliness of needing the “wait” command, the time between execution of commands and between pressing and releasing the mouse button when using the “click” command was slightly increased. This should not be notable, but (at least theoretically) could break existing scripts.

Dropped support for Mac OS X 10.6

Finally, with this release, the minimum Mac OS X version supported by cliclick is 10.7 (no longer 10.6).

Download

Back to news overview