I have noticed that for several applications it is preferable to change the dock preferences when then application launches (i.e. hide the dock when some application that takes up the whole screen is launched, and then show it when the app quits or is not key.)
would it be possible to do this with apple script?
Howdy Neighbor, the Dock itself is not a scriptable application, but this can be done via GUI Scripting…
[This script was automatically tagged for color coded syntax by Script to Markup Code]
Be sure to check mark the box for “Enable access for assistive devices” in the Universal Access Preference pane.
Or you could use this one line script:
tell application "System Events" to keystroke "d" using {command down, option down}
Greggo, now where in the world do you think I learned that?
Thanks Dennis, but why do it the easy way if there’s a hard way? ;¬)