Re: Coerce to 'alias list'
Re: Coerce to 'alias list'
- Subject: Re: Coerce to 'alias list'
- From: Shane Stanley <email@hidden>
- Date: Wed, 21 Jan 2004 08:53:27 +1100
On Jan 21, 2004, at 7:57 AM, Jean-Baptiste wrote:
Why can't I coerce a list of a single item that is a file reference to
an 'alias list' ?
What you're seeing is a long-standing bug (and it's not really a
coercion). So you need to do something like:
try
set x to every folder of folder theRootFolder as alias list
on error -- only one
set x to every folder of folder theRootFolder as alias
end try
--
Shane Stanley <email@hidden>
_______________________________________________
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.