Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

crimsontide165

macrumors member
Original poster
Feb 5, 2011
35
0
I am constantly switching my dock location between bottom and right, along with hiding and showing it. I know the keyboard shortcut for hiding/showing: alt+command+d. However, is there anyway or any app I could use to set a keyboard shortcut for switching the dock location? Thanks.
 
I am constantly switching my dock location between bottom and right, along with hiding and showing it. I know the keyboard shortcut for hiding/showing: alt+command+d. However, is there anyway or any app I could use to set a keyboard shortcut for switching the dock location? Thanks.

I'm sure this is possible. You can do this with applescript as shown here. Then it's only a matter of tying a keyboard shortcut to run that script. You'll probably need another script to put the dock in another spot and another keyboard shortcut for the other script though with some thought, you may be able to find a way to write a "toggle" script that moves the dock between 2 or more spots when you hit the shortcut key.
 
I doubt it but you could write a script.
Why though? What is the point?
I personally never liked hiding the Windows task bar but the dock is such a useless gimmick that I hardly ever use it at all. The only point to it is to see which programs are running hidden. In every other case switching with touchpad gestures, screen corners, spaces, shortcuts or Alfred is way faster and more convenient. Dock is for Noobs only. ;)
 
I'm sure this is possible. You can do this with applescript as shown here. Then it's only a matter of tying a keyboard shortcut to run that script. You'll probably need another script to put the dock in another spot and another keyboard shortcut for the other script though with some thought, you may be able to find a way to write a "toggle" script that moves the dock between 2 or more spots when you hit the shortcut key.

Thanks! Saved the script and found an article showing how to run a script off of a keyboard shortcut.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.