Skip navigation.
 
mlDocumentController - detect source of request to open document?
FROM : Simon Liu
DATE : Thu Aug 10 18:31:02 2006

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

Related mailsAuthorDate
mlDocumentController - detect source of request to open document? Simon Liu Aug 10, 18:31
mlRe: DocumentController - detect source of request to open document? Michele Balistreri Aug 10, 20:48
mlRe: DocumentController - detect source of request to open document? Simon Liu Aug 10, 23:04