On 2009 Jan, 10, at 9:07, Sean McBride wrote:
You can usually get a psn event for 'background apps'. See GetProcessForPID().
Thank you, Sean. The documentation for struct ProcessSerialNumber implied to me that background apps do not have a process serial number, and -[NSWorkspace launchedApplications] does not return them either. But using GetProcessForPID() as you suggested, I find that background apps do have a process serial number.
I submitted Document Feedback on struct process serial number. Thanks, Jerry _______________________________________________ Cocoa-dev mailing list ([email protected]) 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]
