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: Paul Berkowitz <email@hidden>
- Date: Thu, 06 Dec 2001 07:16:35 -0800
An alternative would be to always give a file path. That way scripts will
work on all systems. Since the 'open for access' command never said anything
about a default location (did it?), I never knew about this shortcut and
never used it. It's probably best to use full dictionary parameters, which
are not likely to be removed from the dictionary in later OS's or seen as
bugs by the AS developers.
--
Paul Berkowitz
>
From: Jolly Roger <email@hidden>
>
Date: Thu, 06 Dec 2001 08:46:58 -0600
>
To: AppleScript Users <email@hidden>
>
Subject: Re: "open for access" changed in 9.2.2?
>
>
I guess I'll steer clear of 9.2.2 then.
>
>
JR
>
>
On 12/6/2001 6:05 AM, "Nicholas E. Baker" <email@hidden> wrote:
>
>
> (":" as alias) has also stopped working
>
>
>
> On 05/12/2001, Will Mayall wrote and I quote:
>
>
>
>> "open for access" appears to have changed its behavior in 9.2.2.
>
>>
>
>> 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?
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users