• 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: Script to Get Finder Selection?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script to Get Finder Selection?


  • Subject: Re: Script to Get Finder Selection?
  • From: "Jonathan Levi, M.D." <email@hidden>
  • Date: Sun, 3 Aug 2003 14:45:56 -0400

JD: Belated thanks for your elegant, laconic and fast-moving script to get the Finder's selection. It's apparently not affected by altering the selection while the script is running, as some had feared. --Jonathan

John Delacour wrote:

tell app "Finder"
set ls to {}
repeat with i in (get selection)
set end of ls to i as Unicode text
end
end
ls

Thanks also to Matthew, Marc, and others for their solutions and opinions.
_______________________________________________
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.

  • Prev by Date: Re: Really delete a file via AppleScript
  • Next by Date: Re: Really delete a file via AppleScript
  • Previous by thread: Re: Script to Get Finder Selection?
  • Next by thread: Re: Script to Get Finder Selection?
  • Index(es):
    • Date
    • Thread