• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Coerce to 'alias list'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Coerce to 'alias list'
      • From: Paul Berkowitz <email@hidden>
References: 
 >Coerce to 'alias list' (From: Jean-Baptiste <email@hidden>)
 >Re: Coerce to 'alias list' (From: Shane Stanley <email@hidden>)
 >Re: Coerce to 'alias list' (From: Walter Ian Kaye <email@hidden>)
 >Re: Coerce to 'alias list' (From: Michelle Steiner <email@hidden>)
 >Re: Coerce to 'alias list' (From: Walter Ian Kaye <email@hidden>)

  • Prev by Date: Re: Coerce to 'alias list'
  • Next by Date: Re: Coerce to 'alias list'
  • Previous by thread: Re: Coerce to 'alias list'
  • Next by thread: Re: Coerce to 'alias list'
  • Index(es):
    • Date
    • Thread