On Mar 24, 2008, at 10:57 AM, Jens Alfke wrote:
Distributed notifications aren't the same thing as NSNotifications,
even though Foundation tries to give them a similar API. Regular
notifications aren't available to other processes; a notification
has to be explicitly posted as distributed, and few are. Distributed
notifications are mostly used internally by the OS, though a few are
documented.
- another application has been launched
- another application is being switched to active (for now, i check
periodically the active application with NSWorkspace)
I remember reading about a distributed notification for apps
switching, but I don't remember where. There may well be a
notification for an app being launched, but I don't know what it is.
Enter "Notification Watcher":
http://www.tildesoft.com/Programs.html
Cheers,
M
_______________________________________________
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 [EMAIL PROTECTED]