Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I now this may sound quite lazy, but I connect to a VPN several times a day (since the laptop gets disconnected from time to time).

I am aware of the "Show VPN Status in the Menubar" option, but is there a way I can make it a keyboard shortcut?

share|improve this question

You could create an AppleScript which would run a shell script to racoonctl - the specific commands will depend upon your VPN connection. Then use Script Utility to enable the global Script Menu, then add a new keyboard shortcut in System Preferences > Keyboard > Keyboard Shortcuts, and assign it to the script (or use a launcher utility such as Quicksilver).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.