• 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
Stumped with list folder in Mac OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Scripting Additions: Embracing the Horror of Unix
  • Next by Date: Re: Stumped with list folder in Mac OS X
  • Previous by thread: Re: Problems with speed & "Info For"
  • Next by thread: Re: Stumped with list folder in Mac OS X
  • Index(es):
    • Date
    • Thread