Re: Hiding the Dock
Re: Hiding the Dock
- Subject: Re: Hiding the Dock
- From: David Duncan <email@hidden>
- Date: Mon, 15 Jan 2007 09:47:22 -0800
On Jan 11, 2007, at 1:47 PM, patrick machielse wrote:
I have a background program that hides other programs or minimizes
another program's windows. In addition, it should hide the Dock. I
cannot use SetSystemUIMode() to hide the Dock, because the setting
should be persistent for all applications, not just for my own app.
Also:
- Dock is not scriptable.
- It seems I want to manipulate the 'autohide' property in
com.apple.Dock.plist.
- I could just activate the Finder and post a 'option-command-d'
keyboard event (assuming it's not re-assigned...)
SetSystemUIMode(kUIModeContentSuppressed, 0) (makes the Dock auto-hide)
SetSystemUIMode(kUIModeContentHidden, 0) (makes the Dock go away)
SetSystemUIMode(kUIModeNormal, 0) (returns the system to normal)
All defined in HIToolbox/MacApplication (a subframework of the Carbon
framework)
--
David Duncan
Apple DTS Quartz and Printing
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden