Re: "open for access" changed in 9.2.2?
Re: "open for access" changed in 9.2.2?
- Subject: Re: "open for access" changed in 9.2.2?
- From: Will Mayall <email@hidden>
- Date: Wed, 05 Dec 2001 23:01:35 -0800
Michelle Steiner wrote:
>
> Previously (and as documented), specifying a filename without a path would
>
> open or create a text file in the same directory as the application.
>
>
>
> For example, executing the following from the AppleScript Editor would open
>
> a file called Test in the same folder as the editor:
>
>
>
> open for access file "Test"
>
>
>
> This now returns a -43 (File not found).
>
>
>
> I can't find anything which documents this change.
>
>
>
> Does anyone know what happened and if there is a fix/workaround?
>
It worked properly for me, using OS 9.2 and AS 1.6
>
>
I copied and pasted your one-line script to try it. I tried it from the
>
script editor and as an applet.
Correct. It stops working in 9.2.2 which uses AS 1.7.
Will Mayall
President, Fog City Software
http://www.fogcity.com