Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dock position and size



On 12/1/07 07:54, "Per Sjöstrand" <email@hidden> wrote:

> Is there a way to get the position

set dockPosition to do shell script "defaults read com.apple.dock
orientation"

> and the size 
> of the Dock through an AppleScript?

Size? Do you mean the icon size, or the number of items in there?

set iconSize to do shell script "defaults read com.apple.dock tilesize"

The number of items can be ascertained by getting 'persistent-apps &
persistent-others and parsing the data returned (counting number of GUID's
would be best bet)

> 
> Best
> 
> Per Sjöstrand
> drop AB
> Uppsala
> Sweden
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/applescript-users/email@hidden
> Archives: http://lists.apple.com/mailman//archives/applescript-users
> 
> This email sent to email@hidden

-- 
Barry


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden

References: 
 >Dock position and size (From: Per Sjöstrand <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.