On Mar 15, 2007, at 9:13 AM, Tobias Meyer-Janson wrote:

> is there a way to determine if an app launch was initiated by
> dropping a file? I want my app to open a default document file but
> not if it was launched by dropping any other file.
>     The OpenDocument event fires after the Open event has finished. So
> if my app opens a default document in the Open event, it does it
> under any condition.

The NewDocument event is called if you just simply launch your  
application so put your Open code in that event. The OpenDocument
event is triggered if you double click a file associated to your  
application or drag an associated file onto the application icon so  
to open that file put code in the OpenDocument event.

=== A Mac addict in Tennessee ===

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to