• 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
list of aliases
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

list of aliases


  • Subject: list of aliases
  • From: Jim Brandt <email@hidden>
  • Date: Tue, 26 Apr 2005 19:05:07 -0500

Can someone tell me why this line of code:

set theList to (every item of alias hold_folder whose kind is not "folder") as alias list

works if there are two or more files (non-folders) in hold_folder but fails if there is a single file in hold_folder.
The error is:

"Can't make alias \"HD1:InfoMac: Hold:asv2n0124.txt\" into a «class alst»."

Is there a work-around for a single file situation?

Jim Brandt
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: list of aliases
      • From: Yvan KOENIG <email@hidden>
    • Re: list of aliases
      • From: Adam Wuellner <email@hidden>
    • Re: list of aliases
      • From: Yvan KOENIG <email@hidden>
    • Re: list of aliases
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: Creating applications with Applescript
  • Next by Date: Re: list of aliases
  • Previous by thread: Re: Creating applications with Applescript
  • Next by thread: Re: list of aliases
  • Index(es):
    • Date
    • Thread