You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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: 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.
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
The text was updated successfully, but these errors were encountered: