• 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
determine if Dashboard is active...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

determine if Dashboard is active...


  • Subject: determine if Dashboard is active...
  • From: Clayton John <email@hidden>
  • Date: Thu, 14 Sep 2006 20:41:01 +0200

Hello All,

As one part of an application - I would like to determine whether or not Dashboard is currently active. I will be doing this within the context of an event handler that has received a mouse-down/click event. My application must avoid performing it's logic when the Dashboard is active - and the logic is kicked off via mouse- movement / clicks.

Since Dashboard does not represent itself as a process, I can't simply try to find that process - and the accessibility inspector shows no information whatsoever when the mouse does not hover over a widget. I had originally thought I could simply use one of the AXUIxxxx() calls to determine the AXUIElement heirarchy for the element under the mouse - but since the AI inspector does absolutely nothing when the Dashboard is active I've so far assumed that the Dashboard is a special case and can't be inspected. I should really get off my lazy ass and try that in my code however.

Anyone else got some tips that'll help me determine if Dashboard is active?

Thanks in advance,

John Clayton

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: determine if Dashboard is active...
      • From: Clayton John <email@hidden>
  • Prev by Date: NSPopUpButton - addItemsWithTitles
  • Next by Date: Re: NSPopUpButton - addItemsWithTitles
  • Previous by thread: Re: NSPopUpButton - addItemsWithTitles
  • Next by thread: Re: determine if Dashboard is active...
  • Index(es):
    • Date
    • Thread