Re: Write to File
Re: Write to File
- Subject: Re: Write to File
- From: Paul Berkowitz <email@hidden>
- Date: Wed, 31 Jul 2002 08:07:54 -0700
On 7/31/02 5:08 AM, "Steve Suranie" <email@hidden> wrote:
>
Paul
>
>
Thanks for the streamlining and the tip on the finder. I was under the
>
impression I had to box my scripts within a tell command. I'llmake your
>
changes but I still don't understand why this will work on a G4 and not on a
>
G3 - both running 9.2, AS 1.6
>
It could be a G5 or a G6 - that makes no difference. One of them probably
has Jon's Commands or Akua Sweets scripting addition and the other doesn't.
Both those osaxen have silent coercions that automatically coerce string
file paths to file or alias, and Akua at least probably converts Finder
file types into AppleScript file types. So when your 'open for access'
command omitted the 'file' word, the osax did the conversion for you,
whereas on the other computer there was nothing to do the conversion.
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.