Re: Dock position and size
Re: Dock position and size
- Subject: Re: Dock position and size
- From: Barry Wainwright <email@hidden>
- Date: Fri, 12 Jan 2007 09:20:55 +0000
- Thread-topic: 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:
> 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:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden