• 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: Luther Fuller <email@hidden>
  • Date: Fri, 12 Jan 2007 08:12:16 -0600


On Jan 12, 2007, at 7:49 AM, KOENIG Yvan wrote:
OK, so a correct script would be:

try
set dockPosition to do shell script "defaults read com.apple.dock orientation"
on error
set dockPosition to "bottom"
end try

If all you want to do is read the current orientation, then YES.

_______________________________________________
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
References: 
 >Re: Dock position and size (From: Barry Wainwright <email@hidden>)
 >Re: Dock position and size (From: KOENIG Yvan <email@hidden>)
 >Re: Dock position and size (From: Luther Fuller <email@hidden>)
 >Re: Dock position and size (From: KOENIG Yvan <email@hidden>)

  • Prev by Date: Re: Dock position and size
  • Next by Date: Automated email reply: Help needed
  • Previous by thread: Re: Dock position and size
  • Next by thread: Re: Dock position and size
  • Index(es):
    • Date
    • Thread