Re: Coerce to 'alias list'
Re: Coerce to 'alias list'
- Subject: Re: Coerce to 'alias list'
- From: Emmanuel <email@hidden>
- Date: Wed, 21 Jan 2004 11:33:39 +0100
At 9:57 PM +0100 20/01/04, Jean-Baptiste wrote:
>
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
This really originates in a bug of AppleScript, where it won't let the program return a one-item list.
Emmanuel
_______________________________________________
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.