• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Hiding the Dock
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Hiding the Dock
      • From: patrick machielse <email@hidden>
References: 
 >Hiding the Dock (From: patrick machielse <email@hidden>)

  • Prev by Date: Re: UTF8 to MacRoman using TECConvertText
  • Next by Date: Re: Transparently en-/decrypt package resources
  • Previous by thread: Hiding the Dock
  • Next by thread: Re: Hiding the Dock
  • Index(es):
    • Date
    • Thread