How cliclick commands are structured
mastercliclick executes actions via a series of commands passed as arguments. Each command follows a specific syntax:
[command_identifier]:[arguments]
- Command Identifier: A string representing the action (e.g.,
cfor click,mfor move). - Arguments: Usually coordinates (
x,y) or keys, separated from the identifier by a colon.
Coordinate Syntax
When a command requires coordinates, you can use:
- Absolute values:
x,y(e.g.,c:123,456) - Relative values: Prefix with
+or-(e.g.,m:+50,-10moves the mouse 50px right and 10px up). - Current position: Use
.as a shorthand for the current mouse position (e.g.,c:.is equivalent toc:+0,+0). - Absolute negative values: For displays arranged to the left of the main display, prefix the number with
=(e.g.,c:100,=-200).