When double-clicking a document file that is to be opened with my app, the path to this file isn't passed in argv[] but can be obtained by implementing "openFile" in the NSApplicationDelegate.
Is there also a way to get the file argument without having an NSApp, i.e. can my program somehow obtain the file argument *before* creating the NSApp object or is that impossible? -- Best regards, Andreas Falkenhahn mailto:andr...@falkenhahn.com _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com