Re: Coercing document list to alias list
Re: Coercing document list to alias list
- Subject: Re: Coercing document list to alias list
- From: Shane Stanley <email@hidden>
- Date: Fri, 08 Dec 2006 20:57:08 +1100
- Thread-topic: Coercing document list to alias list
On 8/12/06 8:38 PM, "Jay Louvion" <email@hidden> wrote:
> Am I too naive ? I genuinely thought I could do the following and get an alias
> list:
>
> tell application "Finder"
> set TheFolder to choose folder
> set TheContent to (every file of TheFolder)
> set TheContentAsAlias to TheContent as alias list
> end tell
"as alias list" isn't really a coercion; you have to use as part of your
initial statement:
tell application "Finder"
set TheFolder to choose folder
set TheContentAsAlias to (every file of TheFolder) as alias list
end tell
--
Shane Stanley <email@hidden>
_______________________________________________
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/mailman//archives/applescript-users
This email sent to email@hidden