Re: "Easter Egg" style key combination changes
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