• 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: Dock position and size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Dock position and size
      • From: KOENIG Yvan <email@hidden>
References: 
 >Dock position and size (From: Per Sjöstrand <email@hidden>)

  • Prev by Date: Dock position and size
  • Next by Date: Re: Dock position and size
  • Previous by thread: Dock position and size
  • Next by thread: Re: Dock position and size
  • Index(es):
    • Date
    • Thread