-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AppleScript not works in macOS 12 Monterey #15
Comments
and get
|
It will be OK with a slow speed... and sometimes fails. |
ckeck https://apple.stackexchange.com/questions/423354/applescript-cant-get-rid-of-delay-after-click |
Solved in 5f2b73d |
v1.3 not really works, not reliable... |
I've tried this:
It is essentially the same with you had in one of the post above. It does work most of the time. But it is not preferred. It may interfere with what I might be doing. For example, if I've also tried below (found in macos - Change OSX keyboard layout("input source") programmatically via terminal or AppleScript? - Stack Overflow)
The problem is that it does not work for all keyboards. For example, it does not work for rime/squirrel, even I have put |
If I run this in ScriptDebugger: tell application "System Events"
tell process "TextInputMenuAgent"
click menu item 1 of menu 1 of menu bar item 1 of menu bar 2
end tell
end tell I can get the following menu item "U.S." of menu 1 of menu bar item 1 of menu bar 2 of application process "TextInputMenuAgent" If my understanding is correct, it indicates that the AppleScript is able to see |
Hi guys, I just found this project which works incredibly well with CJK even on macOS 12, the trick seems to be pressing "select the previous input source shortcut" after calling |
The AppleScript below does not work for Monterey. Is it a related issue?
Originally posted by @martinmts in #14 (comment)
The text was updated successfully, but these errors were encountered: