• 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: Can't get finder selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't get finder selection


  • Subject: Re: Can't get finder selection
  • From: Skeeve <email@hidden>
  • Date: Mon, 21 Jan 2008 18:49:32 +0100

Michelle Steiner wrote:
Finally, "as list" is redundant because "selection" returns a list.

So whi is it that
   tell application "Finder"
       get first item of (selection as list)
   end tell

works and
   tell application "Finder"
       get first item of (selection)
   end tell

gives an error "item 1 of selection can't be read" (or whatever it is in english).

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: Can't get finder selection
      • From: Kurt Klamp <email@hidden>
    • Re: Can't get finder selection
      • From: Michelle Steiner <email@hidden>
References: 
 >Can't get finder selection (From: Robert Poland <email@hidden>)
 >Re: Can't get finder selection (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: How to parse CSV
  • Next by Date: Re: Can't get finder selection
  • Previous by thread: Re: Can't get finder selection
  • Next by thread: Re: Can't get finder selection
  • Index(es):
    • Date
    • Thread