On 12/11/04 9:05 AM, Paul Berkowitz deftly typed out:

> It works, but includes some unnecessary commands. The Finder should not be
> called at all. 'choose file' is a scripting addition that does not need the
> Finder. 'on open' takes a list, so you should put the result of 'choose file'
> into list braces ( a coercion is helping you here). 'on open' most definitely
> does not need the Finder.

Doh! I should have known that since it's part of the Standard Additions
OSAX.

> Properly speaking, when making attachments you're supposed to set each one's
> 'file' property. I notice that there's a coercion operating which lets you
> just use the 'alias' form of a file in a list without specifying it as the
> file property for attachment. I wonder if that's always been in place - it
> sure makes things simpler. Using that coercion again, here it is without the
> Finder:

Thanks for the explanation. I know that it's been working since at least
Entourage v.X (I don't think I ever used it with Entourage 2001).

-Remo Del Bello 

-- 
"This code is a GAGH! You have no honor!"
- 4th most commonly uttered Klingon programmer phrase


-- 
To unsubscribe:                     
<mailto:[EMAIL PROTECTED]>
archives:       
<http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
old-archive:       
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>

Reply via email to