Last active
January 21, 2023 12:04
-
-
Save whidy/fa166f195a290dedd83e32944d1b3e6e to your computer and use it in GitHub Desktop.
Monterey touch bar toggle between Fn and App
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "System Preferences" | |
reveal anchor "keyboardTab" of pane "com.apple.preference.keyboard" | |
delay 0.5 | |
tell application "System Events" | |
click pop up button 2 of tab group 1 of window "键盘" of application process "System Preferences" of application "System Events" | |
end tell | |
end tell | |
tell application "System Preferences" to quit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment