Results 1 to 4 of 4

Thread: Handling Bluetooth off

  1. #1

    Default Handling Bluetooth off

    Currently ToothFairy does not notify me that Bluetooth is turned off. It would be nice if (a) the menu bar icon indicated in some way that Bluetooth was off, and (b) it would prompt me to turn on Bluetooth if it is currently off.

  2. #2

    Default

    Quote Originally Posted by nriley View Post
    Currently ToothFairy does not notify me that Bluetooth is turned off. It would be nice if (a) the menu bar icon indicated in some way that Bluetooth was off, and (b) it would prompt me to turn on Bluetooth if it is currently off.
    Currently, ToothFairy should suggest turning Bluetooth on if connecting fails because it was off. I’d like to be able to have ToothFairy offer to turn it on for you, but as far as I know there’s no public API for that, and so it would not be possible in the App Store. Would you want it to open System Preferences for you?

    I believe it is possible to read the Bluetooth status, though. I think maybe ToothFairy should dim the menu bar icons if Bluetooth is off.

  3. #3

    Default

    Quote Originally Posted by Michael Tsai View Post
    Currently, ToothFairy should suggest turning Bluetooth on if connecting fails because it was off. I’d like to be able to have ToothFairy offer to turn it on for you, but as far as I know there’s no public API for that, and so it would not be possible in the App Store. Would you want it to open System Preferences for you?

    I believe it is possible to read the Bluetooth status, though. I think maybe ToothFairy should dim the menu bar icons if Bluetooth is off.
    Hmm, good point regarding setting the power state not being available in the App Store. I do believe you should be able to tell whether Bluetooth is on or off though. How about having a script hook for when Bluetooth is off, and if no script is selected it’ll open System Preferences?

  4. #4

    Default

    Quote Originally Posted by nriley View Post
    Hmm, good point regarding setting the power state not being available in the App Store. I do believe you should be able to tell whether Bluetooth is on or off though. How about having a script hook for when Bluetooth is off, and if no script is selected it’ll open System Preferences?
    That makes sense. I think it would be straightforward to have a little Python script that calls IOBluetoothPreferenceSetControllerPowerState().

Similar Threads

  1. handling spam sent using MY email address
    By mikehx in forum SpamSieve
    Replies: 1
    Last Post: 03-17-2009, 01:38 PM
  2. Handling new mail (or I just don't get it)
    By Curt Clifton in forum EagleFiler
    Replies: 9
    Last Post: 10-16-2008, 04:41 PM
  3. One drone handling multiple users?
    By PorkPie5000 in forum SpamSieve
    Replies: 1
    Last Post: 04-03-2008, 04:59 PM
  4. Web Archive Handling (EagleFiler vs Yojimbo)
    By mtmac_com in forum EagleFiler
    Replies: 2
    Last Post: 12-31-2007, 02:02 AM
  5. handling spammy msgs from legit senders
    By humanengr in forum SpamSieve
    Replies: 1
    Last Post: 03-17-2007, 11:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •