Re: Coercing an array of aliases to files
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