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 (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]

Reply via email to