Re: Icon bounds on the destop
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