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: email@hidden
- Date: Mon, 10 Dec 2001 21:17:33 -0500
org On Mon, 10 Dec 2001 12:26:46 -0600, "Brandon Carpenter"
<email@hidden> asked,
>
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?
>
set fileList to list folder of aFolder without invisibles
>
errors with -> 1700 Can't make "Image_Folder:UPC:05677531932"
>
into a item.
The command 'list folder' takes an alias as its argument.
It looks like you are coercing a string into an alias.
That is not something AppleScript can do, but the Scripting
Additions "Jon's Commands" and "Akua Sweets" can. So
either you removed one or both of these Scripting Additions
when you upgraded, or there is some OS X stuff going on
that I not yet familiar with, other than to guess that your
applet may be running as an OS X applet, and so won't see
the OS 9 scripting additions.
Or, you can fix the problem by either assigning aFolder differently:
set aFolder to alias "Blah:blahdy:blahblah"
Or make the alias when you call the 'list folder' command.
set fileList to list folder of alias aFolder without invisibles
--
Scott Norton Phone: +1-703-299-1656
DTI Associates, Inc. Fax: +1-703-706-0476
2920 South Glebe Road Internet: email@hidden
Arlington, VA 22206-2768 or email@hidden