Re: Dock Application Click
Re: Dock Application Click
- Subject: Re: Dock Application Click
- From: Dave DeLong <email@hidden>
- Date: Tue, 22 Mar 2005 23:56:05 -0700
I'm not *entirely* sure how well this would translate into Cocoa, but
when the dock icon is clicked, the application is sent an apple event
of class "aevt" and id "rapp".
I'd be interested in learning how received appleEvents can be
handled.... =)
HTH!
Dave DeLong
On Mar 22, 2005, at 11:11 PM, A.Sleep wrote:
Currently I'm using applicationDidBecomeActive to trigger an action.
The issue becomes that even when using CMD-Tab when gaining focus the
application triggers applicationDidBecomeActive (as expected).
What I want to do is find what delegate (if any) to use to hijack the
dock click so the action is triggered ONLY when the application dock
icon is clicked on (when the application is running, of course).
Any pointers would be great.
_______________________________________________
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