Icon bounds on the destop
Icon bounds on the destop
- Subject: Icon bounds on the destop
- From: Ronald Hofmann <email@hidden>
- Date: Fri, 17 Dec 2010 07:14:41 +0100
Hi all,
I want to get the positions of the icons which are on the desktop.
I tried to use "bounds" but this is obviously wrong because all icons get the same value.
Next thing I tried is INFO FOR, but this does not contain any info about position on desktop.
tell application "Finder"
set theList to every item in (path to desktop folder)
end tell
set theFile to alias (item 1 of theList as text)
set theInfo to info for theFile
--> {name:"18.jpg", creation date:date "Dienstag, 14. Dezember 2010 07:01:06", modification date:date "Dienstag, 14. Dezember 2010 07:01:06", size:166322, folder:false, alias:false, package folder:false, visible:true, extension hidden:false, name extension:"jpg", displayed name:"18.jpg", default application:alias "MacOSX:Applications:Preview.app:", kind:"JPEG-Bild", file type:"", file creator:"", type identifier:"public.jpeg", locked:false, busy status:false, short version:"", long version:""}
Any hints how to do this?
Greetings, Ronald
---
_______________________________________________
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