• 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: How to modify Grid Spacing ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to modify Grid Spacing ?


  • Subject: Re: How to modify Grid Spacing ?
  • From: Robert Poland <email@hidden>
  • Date: Thu, 20 Dec 2012 11:46:05 -0700

On Dec 20, 2012, at 11:37 AM, "L. Lee" <email@hidden> wrote:

>
>
> From: "koenig.yvan" <email@hidden>
> Date: Thursday, December 20, 2012 12:01 PM
> To: liste AppleScript US <email@hidden>
> Subject: Re: How to modify Grid Spacing ?
>
>
> Le 20/12/2012 à 17:55, L. Lee <email@hidden> a écrit :
>
>> Aren't they referred to as iCons now?
>>
>> But setting icon (iCon) size is desirable, as well.
>>
>> Anyway, it appears that you don't have to use UI scripting to set grid spacing, as this script generated by Desktop Wrap illustrates.
>>
>> (I really must find time to incorporate the disk listing that I demonstrated at Mac OS X Hints into Desktop Wrap so the sorting is more correct.)
>>
>> -----
>>
>> tell application "System Events"
>> 	tell process "Finder"
>> 		set screensize to size of first scroll area whose position is {0, 0}
>> 	end tell
>> end tell
>
>
> The piece of code above IS GUI scripting.
>
> Yvan KOENIG (VALLAURIS, France) jeudi 20 décembre 2012 19:00:39
>
> --------------------------
>
> Alrighty, then, maybe I can google 'applescript "get screen size" without GUI Scripting', but my point was that the iCon's positions can be set without it.
>
> LL

	tell (do shell script "/usr/sbin/system_profiler SPDisplaysDataType | grep Resolution") to set {monitor_R, monitor_B} to {word 2 as number, word 4 as number} -- get screen size for monitor


Robert Poland - Fort Collins, CO




 _______________________________________________
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: How to modify Grid Spacing ?
      • From: "L. Lee" <email@hidden>
References: 
 >Re: How to modify Grid Spacing ? (From: "L. Lee" <email@hidden>)

  • Prev by Date: Re: How to modify Grid Spacing ?
  • Next by Date: Re: How do you know if the folder is Shared
  • Previous by thread: Re: How to modify Grid Spacing ?
  • Next by thread: Re: How to modify Grid Spacing ?
  • Index(es):
    • Date
    • Thread