DocumentController - detect source of request to open document?
DocumentController - detect source of request to open document?
- Subject: DocumentController - detect source of request to open document?
- From: "Simon Liu" <email@hidden>
- Date: Thu, 10 Aug 2006 17:31:02 +0100
Is there a way to detect who/what requested an application to open a
document? I'd like my application to start up differently, if the
user launched a document from the Finder.
Normally my application has a main window. When launching a document
from the Finder, I only want the application to display the document
window, and not the main window.
Is there a way to ask/subclass the shared document controller to do this?
Thanks,
Simon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden