• 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 bounds on the destop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Icon bounds on the destop
      • From: Ronald Hofmann <email@hidden>
References: 
 >IRController (From: Ralf <email@hidden>)
 >Icon bounds on the destop (From: Ronald Hofmann <email@hidden>)
 >Re: Icon bounds on the destop (From: OzSanta <email@hidden>)

  • Prev by Date: Re: Was: Re: What Use Autofill
  • Next by Date: Re: Display Dialog
  • Previous by thread: Re: Icon bounds on the destop
  • Next by thread: Re: Icon bounds on the destop
  • Index(es):
    • Date
    • Thread