• 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: Kurt Klamp <email@hidden>
  • Date: Mon, 21 Jan 2008 18:58:48 +0100


Am 21.01.2008 um 18:49 schrieb Skeeve:

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).

Seems its involved in the recently discussed 'get' issue.

This works

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



Kurt

_______________________________________________
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
References: 
 >Can't get finder selection (From: Robert Poland <email@hidden>)
 >Re: Can't get finder selection (From: Michelle Steiner <email@hidden>)
 >Re: Can't get finder selection (From: Skeeve <email@hidden>)

  • Prev by Date: Re: Can't get finder selection
  • 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