Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Are there any apps that will allow me to set a preference to auto hide|show the dock based on which application is in focus?

Ex: if I'm using Final Cut, i'd like to have the screen completely dedicated to it, so the dock would be hidden. But when I switch over to say, Safari, it would bring the dock back.

share|improve this question
1  
After a bit of experimenting. I found Dock Spaces. Which provides kind of a rough solution to this. Since it allows you to provide specific dock preferences for specific Spaces. I was able to set Space #1 with a dock and Space #2 with an auto hide dock. Then set an app I wanted the dock hidden to Space #2. Not the exact thing I wanted, but works for now. –  nowk Dec 7 '09 at 3:21
add comment

1 Answer

up vote 2 down vote accepted

I have written an AppleScript to solve your problem. Download here from my iDisk, source code is included. If the link breaks, find it in my Public Folder.

This AppleScript application requires that you use the default keystroke to hide/show the Dock (Command-Option-D) as set in Exposé and/or the Keyboard System Preference pane. It will also require that you have "Enable access for assistive devices" enabled in the Universal Access section of System Preferences.

When you launch the application, it will ask what applications you want the Dock hidden during. Hold Command to select multiple items from the list. Click Okay. Then, every second, it will check to see the state of the Dock and then perform the keystroke if needed. Click the icon for the AppleScript to change the list of apps to hide the dock for.

--

Also, two suggestions for hiding all non-active apps:

From Freeverse software, Think (free) blacks out your screen except for one application that you choose.

Spirited Away (free) checks each running application's activity, and if an application isn't active for a certain fixed time, Spirited Away hides the application automatically.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.