• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: 9.2.2 Update effects on applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: URL Access Scripting
  • Next by Date: Re: 9.2.2 Update effects on applescript
  • Previous by thread: Re: 9.2.2 Update effects on applescript
  • Next by thread: Re: 9.2.2 Update effects on applescript
  • Index(es):
    • Date
    • Thread