I saw an AppleScript on Github to automate toggling F1, F2, etc. as standard function keys, but I don't know how to install it to my system and trigger it via a keyboard shortcut. Help?
I am running OS X Yosemite 10.10.1. Here's the script: https://gist.github.com/alampros/2b81af6cfc564f6accd3
Best Answer
In order to assign a keyboard shortcut to this script, you could create a service in Automator.
You must change
Service receives
tono input
. Then addExecute AppleScript
and paste your script. Save it on~/Library/Services
.Once saved, you must go to
System Preferences → Keyboard → Shortcuts
and you can find out underServices → General
. Assign your preferred shortcut there.