Last active
September 27, 2015 13:07
-
-
Save gokselkoksal/2b307ad1726cb59cd1cd to your computer and use it in GitHub Desktop.
AppleScript to toggle Fn key (F1, F2, etc.) behaviour.
This file contains hidden or 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" | |
set current pane to pane "com.apple.preference.keyboard" | |
tell application "System Events" | |
tell tab group 1 of window "Keyboard" of process "System Preferences" | |
click checkbox "Use all F1, F2, etc. keys as standard function keys" | |
end tell | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment