Re: Coerce to 'alias list'
Re: Coerce to 'alias list'
- Subject: Re: Coerce to 'alias list'
- From: Michelle Steiner <email@hidden>
- Date: Tue, 20 Jan 2004 22:23:56 -0700
On Jan 20, 2004, at 8:18 PM, Walter Ian Kaye wrote:
But you're not using selection!
As I said, there's a bug that prevents a selection list from being
converted to an alias list.
How would you get a list of aliases from a selection?
By looping, unfortunately.
tell application "Finder"
set foo to the selection
end tell
set foobar to {}
repeat with bar in foo
set foobar to foobar & (bar as alias)
end repeat
foobar
-- Michelle
--
A hula hoop with a nail in it is a navel destroyer. -- Joe Parks
_______________________________________________
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.