Re: 9.2.2 Update effects on applescript
Re: 9.2.2 Update effects on applescript
- Subject: Re: 9.2.2 Update effects on applescript
- From: Emmett Gray <email@hidden>
- Date: Mon, 10 Dec 2001 17:02:43 -0500
On Mon, 10 Dec 2001 12:26:46 -0600, "Brandon Carpenter"
<email@hidden> wrote:
I have been expiriencing problems since my update of 9.2.1 to 9.2.2. Does
anyone know where I can find info on the changes effecting applescript?
Here's what I've discovered, all whys and wherefores aside: AS 1.7
does not appear to coerce strings into aliases, Finder or no Finder.
It seems that _all references_ to paths must be coerced by the
scripter.
Thus:
set theFile to "My HD:A folder:A text file"
set theText to read file theFile
will fail. This worked under AS 1.6 and earlier.
You must say:
set theFile to "My HD:A folder:A text file" as alias
set theText to read file theFile
or something similar.
Please someone enlighten us all if this is not accurate.
HTH,
--Emmett