• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Register for AC power change
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Register for AC power change


  • Subject: Re: Register for AC power change
  • From: "stephen joseph butler" <email@hidden>
  • Date: Tue, 19 Jun 2007 09:07:06 -0500

On 6/19/07, Andrew James <email@hidden> wrote:
Ive seen a code snippet for this event before but i can not find the
snippet anymore, basically what im trying to do is have my
application be notified when the AC power cord is unplugged/plugged in

HardwareGrowler has some nice code for this:

<http://trac.growl.info/browser/trunk/Extras/HardwareGrowler/PowerNotifier.c>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Register for AC power change (From: Andrew James <email@hidden>)

  • Prev by Date: Re: pb with awakeFromNib
  • Next by Date: Re: pb with awakeFromNib
  • Previous by thread: Register for AC power change
  • Next by thread: Reset/Cancel an NSSearchField
  • Index(es):
    • Date
    • Thread