cliclick icon indicating copy to clipboard operation
cliclick copied to clipboard

Ventura 13.6 update - no longer recognizing cliclick codes

Open kjlaf21 opened this issue 2 years ago • 3 comments

Anyone else having issues since updating to Ventura 13.6?

Ever since I updated a code I use no longer works. Error in terminal is : Unrecognized action shortcut “RC” in “RC:555,650”

The segment of code it is in: tell application "System Events" keystroke "cliclick rc:555,650"

thx

kjlaf21 avatar Sep 29 '23 08:09 kjlaf21

Also running into this. Attempts to run the cliclick binary just result in command not found on Ventura 13.4.

spacestierman avatar Nov 08 '23 21:11 spacestierman

It looks like something is upper-casing your argument to cliclick. Actually, probably your whole argument to keystroke. Is it possible that your capslock is being turned on while Applescript is sending those keypresses?

I do have to wonder why you're sending keypresses to an application (I'm guessing a terminal application) to run cliclick, though. If you need Applescript for some other reason, you should be able to use click at {555,560} directly in the Applescript (though I guess you'd have to Ctrl-Click using key down control and key up control), and if you don't need Applescript, there's surely a better way to start cliclick. There's even a better way to start cliclick from within Applescript: do shell script "cliclick rc:555,650" would make more sense.

wfaulk avatar Jan 22 '24 20:01 wfaulk

@wfaulk: thanks for your explanations on @kjlaf21’s problem.

@spacestierman: this is unrelated to the problem described by @kjlaf21. If you get this when executing something like do shell script "cliclick p" in AppleScript, you should use the full path, for instance do shell script "/usr/local/bin/cliclick p". You will get the correct path (/usr/local/bin/cliclick might not be the correct one on your system) by executing which cliclick in Terminal.

BlueM avatar Feb 05 '24 22:02 BlueM