• 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
Coerce to 'alias list'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Coerce to 'alias list'


  • Subject: Coerce to 'alias list'
  • From: Jean-Baptiste <email@hidden>
  • Date: Tue, 20 Jan 2004 21:57:15 +0100

Why can't I coerce a list of a single item that is a file reference to an 'alias list' ?

EG :

Folder 1 contains 1 (one) folder

set theRootFolder to alias "Jean-Baptiste:Desktop:Folder1:"
tell application "Finder" to (get every folder of folder theRootFolder) as alias list --> fails

Folder 1 contains 2 (two) folders

set theRootFolder to alias "Jean-Baptiste:Desktop:Folder2:"
tell application "Finder" to (get every folder of folder theRootFolder) as alias list --> works

++ JB
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Coerce to 'alias list'
      • From: Emmanuel <email@hidden>
    • Re: Coerce to 'alias list'
      • From: Axel Luttgens <email@hidden>
    • Re: Coerce to 'alias list'
      • From: Axel Luttgens <email@hidden>
    • Re: Coerce to 'alias list'
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Processing files in nested folders
  • Next by Date: quark - copying boxes and their content
  • Previous by thread: Re: AppleScripts running on Panther for Server
  • Next by thread: Re: Coerce to 'alias list'
  • Index(es):
    • Date
    • Thread