Re: Icon bounds on the destop
Re: Icon bounds on the destop
- Subject: Re: Icon bounds on the destop
- From: Axel Luttgens <email@hidden>
- Date: Fri, 17 Dec 2010 10:38:10 +0100
Le 17 déc. 2010 à 07:41, OzSanta a écrit :
> G'day Ron
>
> tell application "Finder"
> activate
> set ptd to path to desktop
> set EveryFile to every item of ptd
> set temp to {}
> repeat with x in EveryFile
> set end of temp to desktop position of x
> end repeat
> end tell
> temp
One may even make use of Finder's ability to act upon groups of items:
tell application "Finder" to desktop position of items of desktop
Should one want to get the names of those items at the same time:
tell application "Finder" to {name, desktop position} of items of desktop
HTH,
Axel
_______________________________________________
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