Le 15 mars 07 à 21:29 Soir, Tom Benson a écrit:
> The App.OpenDocument event will fire if the application is launched
> by either of the following methods
>
> 1) a user double clicks a document in the Finder/Explorer, and you
> app is the designated editor
> 2) a user drags and drops a file onto y
The App.OpenDocument event will fire if the application is launched
by either of the following methods
1) a user double clicks a document in the Finder/Explorer, and you
app is the designated editor
2) a user drags and drops a file onto you apps icon
So, I'd put this code in the App.OpenDocum
Le 15 mars 07 à 15:31 Soir, Harrie Westphal a écrit:
> The NewDocument event is called if you just simply launch your
> application so put your Open code in that event.
The open event may still be used when you need to do something in
both cases (wether you have a document open or not).
___
"Dennis Birch" <[EMAIL PROTECTED]> wrote:
><[EMAIL PROTECTED]> wrote:
>> is there a way to determine if an app launch was initiated by
>> dropping a file?
>If it's helpful, the NewDocument event fires when your application is
>launched without a document (file)
Oh yes, NewDocument vs. OpenDocu
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
On 3/15/07, Tobias Meyer-Janson
<[EMAIL PROTECTED]> wrote:
> Hi,
>
>
> 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
Hi,
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 t