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
Running from command line works, typing text (into say a browser window with Google docs):
cliclick c:455,442 t:randomtext
But running the same code from a file (with -f filename) is giving a strange response - so far for me it has opened the Mac control center, and other times it seems to right-click on a dock icon? Perhaps I'm missing something obvious.
As a side note, I think there's an issue with the help text for the t: command - it's referencing "type" instead of "t":
t:text Will TYPE the given TEXT into the frontmost application.
If the text includes space(s), it must be enclosed in quotes.
Example: “type:Test” will type “Test”
Example: “type:'Viele Grüße'” will type “Viele Grüße”
The text was updated successfully, but these errors were encountered:
Trying it now, it's bringing up the emoji panel and I get a few MacOS audible warnings ticks with the keys, when directing it to type into Google Docs in Safari. I tried including -e and -w CLI instructions along with the -f file read, but can't seem to get it to perform.
After a little more work, I think somehow the mac's Function key is getting triggered somewhere. I found I could type more reliably by prepending troublesome events with ku:fn to make sure it wasn't down.
I am not able to reproduce this and have no idea what may cause this behavior. Does the same happen when reading from stdin? E.g.: cliclick -f - < test.txt or cat test.txt | cliclick -f -
Running MacOS 12.4
Running from command line works, typing text (into say a browser window with Google docs):
cliclick c:455,442 t:randomtext
But running the same code from a file (with
-f filename
) is giving a strange response - so far for me it has opened the Mac control center, and other times it seems to right-click on a dock icon? Perhaps I'm missing something obvious.As a side note, I think there's an issue with the help text for the t: command - it's referencing "type" instead of "t":
The text was updated successfully, but these errors were encountered: