Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Script to move dock?

Hi,

Anybody knows of a way to move the dock (e.g. from the left to the bottom) with AppleScript?

Or maybe something on the command line (and then call it from the script)?

Thanks!

MacBook Pro, Mac Mini, iPod Touch, Mac OS X (10.5)

Posted on Jul 1, 2009 7:00 AM

Reply
Question marked as Best reply

Posted on Jul 1, 2009 7:57 AM

This is easily done via the defaults shell command:

do shell script "defaults write com.apple.dock orientation left && killall -HUP Dock"


Replace 'left' with 'bottom' or 'right' as desired.
1 reply

Script to move dock?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.