Stumped with list folder in Mac OS X
Stumped with list folder in Mac OS X
- Subject: Stumped with list folder in Mac OS X
- From: "Carl Davaz" <email@hidden>
- Date: Tue, 29 Jan 2002 13:41:02 -0800
I'm trying to yield a list of images. The following works with 9.1/AS 1.6
set theHD to (path to startup disk) as text
set folderPath to theHD & "Desktop Folder:CalendarMaker:"
set ImagePath to folderPath & "TestImages:"
set theList to list folder ImagePath
(*
result: {"april.jpg", "august.jpg", "december.jpg", "february.jpg",
"january.jpg", "july.jpg", "june.jpg", "march.jpg", "may.jpg",
"november.jpg", "october.jpg", "september.jpg"}
*)
When I run the same script in 10.1.2/AS 1.8.2b1 I get the following error:
Can't make "NewsPB29X:Desktop Folder:CalendarMaker:TestImages:" into a
item.
Can someone point out what I'm doing wrong?
Thanks,
Carl
Carl Davaz, email@hidden