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