• 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: lid open and close notification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lid open and close notification


  • Subject: Re: lid open and close notification
  • From: Benjamin Dobson <email@hidden>
  • Date: Thu, 4 Dec 2008 20:11:46 +0000

On 4 Dec 2008, at 18:29:26, sheen mac wrote:

Hi All,

In my app needs lid open and close notification.I used ioreg shell call
for that (ioreg -n IOPMrootDomain | grep AppleClamshellState | sed 's/^.*=//'
).But when lid close and open it return "No". Always the clamshellstate is
true.Insomania.kext was loaded before close the lid.


Any other way to get this info?.

Kindly help me.

Thanks In Advance,
Sheen

I'm not familiar with this, but... how would you know the lid is closed? Wouldn't the computer be asleep?
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Please 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


  • Follow-Ups:
    • Re: lid open and close notification
      • From: Nick Zitzmann <email@hidden>
References: 
 >lid open and close notification (From: sheen mac <email@hidden>)

  • Prev by Date: Re: NSSavePanel mishandling extensions
  • Next by Date: Re: How to extract individual icons from icns file?
  • Previous by thread: lid open and close notification
  • Next by thread: Re: lid open and close notification
  • Index(es):
    • Date
    • Thread