• 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: Ronald Hofmann <email@hidden>
  • Date: Fri, 17 Dec 2010 18:03:58 +0100

These are really great suggestions Santa and Axel.
This simplifies my script dramatically.

Do you have another hint to save the theResultList to a file without looping thru the lists?

tell application "Finder"
  set theResultList to {name, desktop position} of items of desktop
end tell

Greetings, Ronald
---
Am 17.12.2010 um 10:38 schrieb Axel Luttgens:

> 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

 _______________________________________________
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: Axel Luttgens <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>)
 >Re: Icon bounds on the destop (From: Axel Luttgens <email@hidden>)

  • Prev by Date: [ann] Ruby appscript 0.6.0 released
  • 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