Re: NSDistributedNotification names
Re: NSDistributedNotification names
- Subject: Re: NSDistributedNotification names
- From: Marco Cassinerio <email@hidden>
- Date: Mon, 24 Mar 2008 11:14:02 +0100
If done through NSDistributedNotificationCenter or NSWorkspace's
special notification center, then yes. Otherwise, no. What exactly
are you trying to accomplish?
Nick Zitzmann
<http://www.chronosnet.com/>
I would my application be notified when:
- another application has been launched
- another application is being switched to active (for now, i check
periodically the active application with NSWorkspace)
- another application opens new window or document window
- another application changes the frontmost window
- another application is performing an open/save action
Currently I'm doing that through apple script, but i'm searching for a
better and cleaner way.
Marco
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden