Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I want to bind a gesture in BetterTouchTool to the shut down menu that is invoked by pressing the power button on my MacBook Air.

It's fairly simple to bind gestures to keyboard shortcuts, so what I'm really looking for is a way to bind a keyboard shortcut to the shut down menu. You can't use the power button in BetterTouchTool, so I need to bind it to a standard keyboard shortcut such as Command+Shift+S.

share|improve this question
    
Another option would be to assign a shortcut to tell application "System Events" to shut down. –  Lri Aug 18 '12 at 19:39

2 Answers 2

You don't need to map the power button, that menu is already mapped to control+eject


Other useful shutdown/restart/logoff key mappings are below which might be of interest too

Prompt to save work and restart the Mac - Control+Command+Eject

Prompt to save work and shutdown the Mac - Control+Option+Command+Eject

Sleep - Command+Option+Eject

Sleep displays - Shift+Control+Eject

If the computer isn't responding and you need to force it to power off, you can hold down the power button for 6 seconds, you'll lose unsaved work though.

These power shortcuts are listed on the apple support pages

share|improve this answer
    
Nice, thanks. Where can I get the full list of such keyboard shortcuts? –  Senseful Feb 7 '11 at 0:31
    
Any ideas how to get an eject button, if you ahve a non-mac keyboard? –  Chris Quenelle Feb 7 '11 at 5:00
    
I think F12 will work as an eject button if you hold it for about 2 seconds but I don't know if it will work with these keyboard shortcuts. –  conorgriffin Feb 7 '11 at 9:00
up vote 0 down vote accepted

While @Griffo's suggestion is useful, unfortunately the eject button cannot be used in BetterTouchTool.

In order to get it to work with BetterTouchTool, I did the following:

  1. Created a new shortcut in System Preferences > Keyboard > Keyboard Shortcuts for All Applications with the menu title Shut Down... and I chose my own keyboard shortcut.
  2. I then bound a shortcut key in BetterTouchTool to this new keyboard shortcut.

It works as expected. The only drawback is that there are now two Shut Down options in the menu: Shut Down and Shut Down... It's a minor annoyance which I'm not sure how to fix.

share|improve this answer

Your Answer

 
discard

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.