How about...
I have a list of open applications (PSN and therefore PID) and I would like to ask each if they have any open documents and what the paths are for those open documents. I know that some applications will respond to applescripts with this information, but how about objective- c?
+++++++++++++++++++++++ Rich Collyer - Senior Software Engineer [email protected] IronKey - The World's Most Secure Flash Drive 2008 SC Magazine Readers Choice Award Winner 2008 FOSE Best of Show Winner 2007 GCN Labs Reviewers Choice Winner +++++++++++++++++++++++ On Mar 24, 2009, at 3:39 PM, I. Savant wrote:
On Mar 24, 2009, at 6:31 PM, Luke the Hiesterman wrote:http://developer.apple.com/DOCUMENTATION/DARWIN/Reference/ManPages/man8/lsof.8.html On Mar 24, 2009, at 3:27 PM, Rich Collyer wrote:I am looking for a clean way to find all open documents and their associated paths.In addition to this (breaking the app barrier), if you're only looking for all *NSDocument* subclass instances open in your Cocoa document-based application, ask the [NSDocumentController sharedDocumentController] would be a great place to look.-- I.S.
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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]
