Is there a command I can issue via terminal to switch my F1-12 keys to being application keys (media, screen brightness ...) and back? i.e. replicate toggling System Preferences => Keyboard => Use all F1, F2, etc. keys as standard function keys. My mac is pretty much used for browsing and music but it is nice not to have to fn to the F keys when occasionally doing some Chrome debugging.
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
|
||||
|
|
|
I only know how to do this via UI scripting. Open up AppleScript Editor, and paste the following:
Like this:
Save it under any name you like. From a Terminal, you can then run:
|
|||
|
