Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Quickly toggle the behaviour of the fn key in Mac OS.
branch: master
Failed to load latest commit information.
fn.app/Contents Initial commit.
README.md Update README.md

README.md

fn.app

This is an app created in Automator. It toggles the "Use all F1, F2, etc. keys as standard function keys" option in Mac OS System Preferences. A task that is tedious when done often (which programmers tend to do).

All it does is that it executes this AppleScript snippet:

tell application "System Preferences"
    reveal anchor "keyboardTab" of pane "com.apple.preference.keyboard"
end tell
tell application "System Events" to tell process "System Preferences"
    click checkbox 1 of tab group 1 of window 1
end tell
quit application "System Preferences"

Installation

Copy the fn.app folder into /Applications.

In OS X 10.9 (Mavericks) and later, you also need to:

  1. go to System Preferences > Security & Privacy > Accessibility > Privacy
  2. tick fn.app under Allow the apps below to control your computer.

preferences

Usage

Run the app. The fastest way to do it is from Spotlight:

  1. Press ⌘ + space (or similar) to open Spotlight.
  2. Type fn, fn.app should be the Top Hit.
  3. Hit Enter.
Something went wrong with that request. Please try again.