Skip to content

4.0

Compare
Choose a tag to compare
@BlueM BlueM released this 30 Dec 08:34
· 43 commits to master since this release

Cliclick 4.0 (released 2018-03-24) compiled as x86_64.

Changes:

  • 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). 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.
  • Cliclick uses appropriate output destinations for error messages, which means they are now written to stderr, 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.
  • 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.
  • 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.
  • The minimum supported system version is OS X 10.9 (previously, 10.7)