• 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: "Easter Egg" style key combination changes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Easter Egg" style key combination changes


  • Subject: Re: "Easter Egg" style key combination changes
  • From: Ricky Sharp <email@hidden>
  • Date: Sun, 20 Jan 2008 12:33:36 -0600


On Jan 20, 2008, at 12:21 PM, Development wrote:

I would like to include a special debug menu in one of my application. I do not want this menu easily available, as it might give the average end user the ability to do things that would cause support nightmares for the application. What I want is to have the menu appear when they hold certain keys and click the Application menu, and vanish when they let the keys go... I'm having trouble finding information on this and honestly I do not even know where to start looking. Any ideas?


While this may be possible, it would probably be better for you to implement what Safari does. Basically, come up with a "debug" key and if that's there in your app's user defaults, then just add in the menu near app startup (e.g. in awakeFromNib).

You can instruct your users to enable debug mode by doing this from Terminal:

defaults write com.yourcompany.yourapp IncludeDebugMenu 1

___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Instant Interactive(tm)   http://www.instantinteractive.com

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


References: 
 >"Easter Egg" style key combination changes (From: Development <email@hidden>)

  • Prev by Date: Re: How do I programmatically disable/enable an NSButton
  • Next by Date: Re: How do I programmatically disable/enable an NSButton
  • Previous by thread: "Easter Egg" style key combination changes
  • Next by thread: Re: "Easter Egg" style key combination changes (Probably not interesting to any one but newbies)
  • Index(es):
    • Date
    • Thread