• 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: Keyboard Shortcut without Menu Item
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Keyboard Shortcut without Menu Item


  • Subject: Re: Keyboard Shortcut without Menu Item
  • From: Nick Zitzmann <email@hidden>
  • Date: Tue, 28 Mar 2006 11:04:03 -0700


On Mar 28, 2006, at 10:58 AM, Philip Dow wrote:

iTunes includes a keyboard shortcut for selecting the search field, command-option-f. As far as I can tell, this keyboard shortcut does not belong to a menu item anywhere on the main menu bar. How does one go about implementing a keyboard shortcut without including a menu item for it? I've seen an approach that subclasses NSApplication and overrides sendEvent:. Is there another way?

iTunes uses a hidden menu, which is currently possible to implement in Carbon but not in AppKit. However, you can make a hidden pop-up button with the command...


Nick Zitzmann
<http://www.chronosnet.com/>


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Keyboard Shortcut without Menu Item (From: Philip Dow <email@hidden>)

  • Prev by Date: Keyboard Shortcut without Menu Item
  • Next by Date: Re: Memory Management question
  • Previous by thread: Keyboard Shortcut without Menu Item
  • Next by thread: Re: Keyboard Shortcut without Menu Item
  • Index(es):
    • Date
    • Thread