• 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: Icon coordinates in Finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Icon coordinates in Finder


  • Subject: Re: Icon coordinates in Finder
  • From: Yvan KOENIG <email@hidden>
  • Date: Wed, 11 May 2005 20:09:42 +0200


Le 11 mai 2005 , à 19:43, Sung-Jin Lim a écrit :

Is there any way to ask Finder for the global screen coordinates (not the local coordinates) of icon for a file or folder?


Hello

Maybe this may help:

property monFichier : "Macintosh HD:Users:yvankoenig:Desktop:documents divers:for info.sit"

tell application "Finder"
set laFenetre to (container of file monFichier) as text

set Wpos to position of window of folder laFenetre
set Fpos to position of item monFichier
set Gpos to {(Wpos's item 1) + (Fpos's item 1), (Wpos's item 2) + (Fpos's item 2)}
end tell -- Finder



Yvan KOENIG

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Icon coordinates in Finder (From: Sung-Jin Lim <email@hidden>)

  • Prev by Date: Re: Icon coordinates in Finder
  • Next by Date: [ann] TextCommands 0.2.0
  • Previous by thread: Re: Icon coordinates in Finder
  • Next by thread: [ann] TextCommands 0.2.0
  • Index(es):
    • Date
    • Thread