On 2009 Jan, 07, at 22:46, Chunk 1978 wrote:
does this work with Dashboard? it seems that dashboard is a
background application that's always open...
Well, obviously it does not.
You'd need a NSWorkspaceDidActivateApplicationNotification, but it
looks like there is no such thing. You could periodically poll -
[NSWorkspace activeApplication], but I hope someone has a better idea,
because if you do I would not want your process running on my Mac.
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com