hello, This seems simple but its not working at all. Simply I want to write a script the hides the dock when a program launches. I can’t seem to find out how to do that at all? If you ever used imove you se how the dock magically disappears when it launches. can we do this with AS? What about scripting the finder menu command to hide the dock? Any tips or scipts would be great.
Typing command-option-d toggles the hiding of the dock, and if you want to do this in a script you could try downloading X-Commands from http://www.kanzu.com and typing this in a script:
tell application “X-Commands”
type key “d” with command and option