W:ms Will WAIT/PAUSE for the given number of milliseconds.Įxample: “w:500” will pause command execution for half a second Ku:keys Will trigger a KEY UP event for a comma-separated list ofĮxample: “ku:cmd,ctrl” will release the command key and theĬontrol key (which will only have an effect if you performedĭm:x,y Will continue the DRAG event to the given coordinates.Įxample: “dm:112,134” will drag and continue to the point with xĬ:x,y Will CLICK at the point with the given coordinates.Įxample: “c:12,34” will click at the point with x coordinateĭd:x,y Will press down to START A DRAG at the given coordinates.Įxample: “dd:12,34” will press down at the point with x Please try if double-clicking plus single-clicking does. Note: If you find that this does not work in a target application, You may also use “.”, which means: the current position. Tc:x,y Will TRIPLE-CLICK at the point with the given coordinates.Įxample: “tc:12,34” will triple-click at the point with xĬoordinate 12 and y coordinate 34. Possible keys are:Įxample: “kp:return” will hit the return key. Kp:key Will emulate PRESSING A KEY (key down + key up). Option key (and will keep them down until you release them Kd:keys Will trigger a KEY DOWN event for a comma-separated list ofĮxample: “kd:cmd,alt” will press the command key and the M:x,y Will MOVE the mouse to the point with the given coordinates.Įxample: “m:12,34” will move the mouse to the point with Using “.” isĮquivalent to using relative zero values “c:+0,+0”. Instead of x and y values, you mayĪlso use “.”, which means: the current position. Rc:x,y Will RIGHT-CLICK at the point with the given coordinates.Įxample: “rc:12,34” will right-click at the point with x coordinateġ2 and y coordinate 34. (If you need to specify absolute negative values in case you have a setup with a second display arranged to the left of your main display, prefix the number with “=”, for instance “c:100,=-200”.) Of course, relative and absolute values can be mixed, and negative values are possible, so “c:100,-20” would be perfectly valid. For example, “m:+50,+0” will move the mouse 50 pixels to the right. Whenever a command expects a pair of coordinates, you may provide relative values by prefixing the number with “+” or “-”. See below for a list of all commands and the arguments they expect. Example: “c:123,456” is the command for clicking (the “c” is the command identifier for clicking) at the position with x coordinate 123 and y coordinate 456. A command consists of a command identifier (a string that tells cliclick what kind of action to perform) and usually one or more arguments to the command, which are separated from the command identifier with a colon. To use cliclick, you pass an arbitrary number of commands as arguments. V Show cliclick version number and release date The default (and minimum) value for -w is 20. “cliclick -w 200 wait:500” will wait for 700 milliseconds. If you find that you use the “wait” command too often, w Wait the given number of milliseconds after each event. Additionally, lines starting with the hashĬharacter # are regarded as comments, i.e.: ignored. In the same format/syntax as commands given as argumentsĪt the shell. Specify a file from which cliclick will read the commandsĮach line in the file is expected to contain a command f Instead of passing commands as arguments, you may instead The time needed for moving will be higher if the distance On the distance between the start and the end position, i.e. If this option is used, the actual speed will also depend “natural” or “human-like”, which also implies: will be slower. Value is (default: 0), the more will mouse movements seem e Set an easing factor for mouse movements. To a file (which will be overwritten if it exists).īy default (if option not given), stdout is used for printing Possible values are: stdout, stderr, clipboard or the path d Specify the target when using the “p” (“print”) command. Performed) or “test” (cliclick will only print the m The mode can be either “verbose” (cliclick will print aĭescription of each action to stdout just before it is r Restore initial mouse location when finished
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |