• 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
Re: Coercing an array of aliases to files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Coercing an array of aliases to files


  • Subject: Re: Coercing an array of aliases to files
  • From: "Stockly, Ed" <email@hidden>
  • Date: Tue, 09 Feb 2010 16:41:34 -0800
  • Thread-topic: Coercing an array of aliases to files

Title: Re: Coercing an array of aliases to files
When you say ‘array’ do you mean a list?

{item, item, item}

An ‘alias’ in appleScript is simply a reference to a file.

Do you want to create an ‘alias file’ to the file referenced by each alias in a list?

If so:
Set someItems to {}
Repeat with thisItem in folderList
  Set the end of someItems to make new alias file at desktop to thisItem
End repeat

the “every item of “ construct doesn’t work on lists.


HTH,

ES
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Coercing an array of aliases to files
      • From: Alex Zavatone <email@hidden>
References: 
 >Coercing an array of aliases to files (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Re: Is this valid "whose" syntax for folder actions file extension filtering?
  • Next by Date: Re: Coercing an array of aliases to files
  • Previous by thread: Coercing an array of aliases to files
  • Next by thread: Re: Coercing an array of aliases to files
  • Index(es):
    • Date
    • Thread