Closed Spritekin closed 2 years ago
Running cliclick -h
shows, among other things:
-f <file> Instead of passing commands as arguments, you may instead
specify a file from which cliclick will read the commands
(or stdin, when - is given as filename).
Each line in the file is expected to contain a command
in the same format/syntax as commands given as arguments
at the shell. Additionally, lines starting with the hash
character # are regarded as comments, i.e.: ignored. Leading
and trailing whitespace is ignored, too.
According to https://github.com/BlueM/cliclick/blame/94ec58220722128b3b950d6c31c1ce2d8e5eea6e/cliclick.m#L205 your example should have worked for years.
Right, sorry my mistake.
Just an idea... it would be nice to have a comment symbol so we can annotate the program for example:
Nicer to read.