Re: applescript-users digest, Vol 2 #1218 - 10 msgs
Re: applescript-users digest, Vol 2 #1218 - 10 msgs
- Subject: Re: applescript-users digest, Vol 2 #1218 - 10 msgs
- From: "Michael Turner" <email@hidden>
- Date: Sat, 20 Oct 2001 22:10:17 -0400
>
Subject: Re: who am I talking to?
>
>
>
> Who recieves "open" & "close"? And why?
>
>
My AppleEvent Log says:
>
>
tell current application
>
open alias "HD:Desktop Folder:Paro" (a text file in my test)
>
end tell
>
>
The result can be:
>
--> script document id 1039
>
or
>
null
>
>
The script itself must be sending the core event 'aevtodoc' to the running
>
app (tested in Smile, Script Editor & more).
>
Why they accept the event? I don't know.
>
Who are you talking to? Smile, sure.
>
>
JJ
The other thing about this is the behavior of Smile. Sometimes it works,
sometimes not. When run directly from Smile, the script bit I sent works
fairly consistently, but when called from outside Smile, it fails. I guess
that is to be expected from undocumented commands.
/Michael Turner