determine if Dashboard is active...
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