• 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: Command+Option+Return not sent to doCommandBySelector:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Command+Option+Return not sent to doCommandBySelector:


  • Subject: Re: Command+Option+Return not sent to doCommandBySelector:
  • From: Gideon King <email@hidden>
  • Date: Sat, 19 Dec 2009 07:25:58 +1000

Thanks Ross.

I have done some more research and found that the complete mapping dictionary is stored in /System/Library/Frameworks/AppKit.framework/Resources/StandardKeyBinding.dict, and that it defines a whole lot of other key mappings that are mapped to the noop: selector, for instance Command+Shift+Return and Command+Return both send a noop: selector.

I also found in the documentation that there is no way of changing this at runtime. At least I now understand what is going on and why, even if I find the system somewhat inflexible.

Gideon

> IIRC, command-option-return is not in the standard key bindings, so there is no selector assigned to it.
>
> There's a chart of key bindings and selectors at http://www.hcs.harvard.edu/~jrus/Site/System Bindings.html
>
> -Ross

_______________________________________________

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: 
 >Command+Option+Return not sent to doCommandBySelector: (From: Gideon King <email@hidden>)
 >Re: Command+Option+Return not sent to doCommandBySelector: (From: Ross Carter <email@hidden>)

  • Prev by Date: Menu items unexpectedly disabled
  • Next by Date: Re: Menu items unexpectedly disabled
  • Previous by thread: Re: Command+Option+Return not sent to doCommandBySelector:
  • Next by thread: NSPredicate Matches
  • Index(es):
    • Date
    • Thread