- 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.
It's not hard to write a little tool that listens for all distributed notifications (pass 'nil' for the notification name) and echoes them to stdout. That's a good way to snoop for what, if anything, the system sends. (But any of these notifications that aren't documented are subject to change in future releases of the OS.)
- another application opens new window or document window - another application changes the frontmost window - another application is performing an open/save action
There's no way to get notified of things like this happening outside your process. In general apps keep their window state private from each other (though it's possible to ask via AppleEvents.)
—Jens
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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]