Skip navigation
This discussion is archived

"Turn Bluetooth On" with a keyboard shortcut

20854 Views 9 Replies Latest reply: May 3, 2008 5:23 AM by Barney-15E RSS
Cheefster Calculating status...
Currently Being Moderated
Feb 28, 2008 8:15 AM
Does anyone know how to set a keyboard shortcut to "Turn Bluetooth On"?

I've looked in the keyboard shortcuts menu, and all I can do is add a keyboard shortcut to an application, but I don't know which application or command I need to set a keyboard shortcut to.

Thanks
Macbook Pro C2D, 2.33GHz, Mac OS X (10.5.2)
  • fiorentino97 Calculating status...
    Currently Being Moderated
    Mar 10, 2008 6:11 AM (in response to Cheefster)
    This one stumped me as well—I wanted to add a "Sync Now" shortcut to my .mac menulet. In the Keyboard and Mouse preference pane, go to Keyboard shortcuts and click "+". Choose "All Applications" (which should be the default), then add your preferred shortcut. Now, for me the shortcut didn't appear instantly like it does with a specific application, which is why I thought it wasn't working. I had to restart the computer after adding the shortcut, and that seemed to do the trick. The shortcut now appears next to the command. I believe this method will work for any menu extra.
    iMac 24" 2.16 GHz 2 GB RAM, Mac OS X (10.5.2)
  • V.K. Level 9 Level 9 (56,120 points)
    Currently Being Moderated
    Mar 10, 2008 7:01 AM (in response to Cheefster)
    You can't. Not without some 3rd party application launcher like Quicksilver and a little coding (I can explain further if you really want to).
    You can, however, put a bluetooth icon in the menu bar and turn it on and off from there. That's almost as fast as a keyboard shortcut.
    PowerBook G4 17'', 1.5GHz, Mac OS X (10.5.2), Mac Pro 2.66GHz, Mac Pro 3.2GHz
  • fiorentino97 Level 1 Level 1 (0 points)
    Currently Being Moderated
    Mar 10, 2008 7:33 AM (in response to V.K.)
    It appears I spoke too soon. I can add shortcuts to menu extra commands using the method described above, but they won't actually execute. Am I doing something wrong? Are certain shortcut combinations forbidden?

    Also, I noticed that Dan Frakes at MacWorld suggests it can be done: http://www.macworld.com/article/131902/2008/02/1052applelistens.html. He adds a shortcut for the Back Up Now command in the Time Machine menu extra.
    iMac 24" 2.16 GHz 2 GB RAM, Mac OS X (10.4.10)
  • V.K. Level 9 Level 9 (56,120 points)
    Currently Being Moderated
    Mar 10, 2008 7:54 AM (in response to fiorentino97)
    I really wonder how Dan Frakes makes this work. Seems impossible to me.
    Yes, you can add a shortcut like he suggests but it won't work. Well, it will srt of work but not in any useful way. The trouble is that to activate the shortcut, menu bar (or rather SystemUIserver which is the application that controls it) has to be active. In other words, you actually need to click on the menu bar first before your shortcut will work. That entirely defeats the purpose of the shortcut.
    PowerBook G4 17'', 1.5GHz, Mac OS X (10.5.2), Mac Pro 2.66GHz, Mac Pro 3.2GHz
  • Sam Kivi Level 1 Level 1 (25 points)
    Currently Being Moderated
    Apr 28, 2008 6:24 PM (in response to V.K.)
    I have the same problem trying to get a kb shortcut to turn airport on off. I even tried adding a shortcut to the application Time Machine but i can't get the menu bar short cut for time machine to shows it's short cut like frakes' screenshot shows...
    MacBook CD 2Ghz, Mac OS X (10.4.10)
  • Sam Kivi Level 1 Level 1 (25 points)
    Currently Being Moderated
    Apr 28, 2008 6:29 PM (in response to V.K.)
    the screenshots in the link posted below your post shows Time Machine's Menu Bar icon menu has a shortcut linked to it, there must be a way to do it, unless it's a photoshopped screenshot!
    MacBook CD 2Ghz, Mac OS X (10.4.10)
  • Sam Kivi Level 1 Level 1 (25 points)
    Currently Being Moderated
    Apr 29, 2008 5:38 PM (in response to V.K.)
    I just emailed Dan, and asked him how he made shortcuts to menu items. He replied:

    "It evidently varies by menu; some of the "Menu Extra" menus -- those on the
    right-hand side of the menu bar -- let you assign shortcuts, whereas others
    don't. Even when they do, I've discovered that the keyboard shortcut doesn't
    always work. Sorry to be the bearer of bad news! The alternative is a bit
    trickier: Creating AppleScripts for such purposes and then using a
    third-party utility to assign those scripts to keyboard shortcuts."

    I have had good luck using automator to follow my actions, in turning on and off the airport from the menu bar. One problem I found was Automator recognised me clicking the Airport icon, moving down the dropdown menu, but it would not recognise me clicking "Turn AirPort Off". So I had to click on airport icon, then use arrow keys, and Enter key, to select "Turn Airport Off". Then simply make an "application" for this action in Automator, and use some third party app to make a short cut to the automator-created app. I'm going to try out using Spark :http://www.shadowlab.org/Software/spark.php, but you could probably use Quicksilver too.
    MacBook CD 2Ghz, Mac OS X (10.4.10)
  • Sam Kivi Level 1 Level 1 (25 points)
    Currently Being Moderated
    May 3, 2008 4:01 AM (in response to Cheefster)
    I have a solution for you, which unfortunately still involves either spotlight or for a direct kb shortcut, another program such as spark or quicksilver.
    I found a script for toggling the airport on/off which is very quick
    http://jwdunn.com/file/airportpowerscript.zip
    if you open it in script editor you should be able to easily modify it to turn bluetooth on/off (using the bluetooth menu extra in the menubar).
    then use quicksilver or spark (recmmnd spark for simplicity) to assign a shortcut to the script.
    MacBook CD 2Ghz, Mac OS X (10.4.10)
  • Barney-15E Level 7 Level 7 (33,350 points)
    Currently Being Moderated
    May 3, 2008 5:23 AM (in response to fiorentino97)
    While not a shortcut, you can turn on Keyboard Navigation in the Keyboard and Mouse prefpane. Select the Items you want to access with the keyboard. By default, menu extras are ctrl+F8.

    If you put the bluetooth menu extra on the left, it will be the first to activate, otherwise, you'll have to arrow (or tab) over to it. Once activated, you can start typing the name of the command.
    So, if it is on the left, you can ctrl+F8, T, Enter (or space).
    1.8 SP G5/iMac G4 FP/MBP 2.33/PB G3 Pismo, Mac OS X (10.5.2), XLR8 G4 Upgrade for Pismo

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.