• 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 not get "item" from "position"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can not get "item" from "position"


  • Subject: Re: Can not get "item" from "position"
  • From: Emmanuel <email@hidden>
  • Date: Wed, 4 Apr 2007 17:57:23 +0200

At 11:40 AM -0400 4/4/07, Andrei Tchijov wrote:
tell application "Finder"
	set targetWindow to the front window
	item 1 of position of targetWindow
end tell

This should work:

tell application "Finder"
	set targetWindow to the front window
	item 1 of (get position of targetWindow)
end tell

Emmanuel
_______________________________________________
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 not get "item" from "position" (From: Andrei Tchijov <email@hidden>)

  • Prev by Date: Re: Can not get "item" from "position"
  • Next by Date: Re: Can not get "item" from "position"
  • Previous by thread: Re: Can not get "item" from "position"
  • Next by thread: Re: Can not get "item" from "position"
  • Index(es):
    • Date
    • Thread