Thanks for the response. However, I have already deleted the help menu. Until this works, I have the shortcut as ⌘9 for testing purposes. This works fine. Unfortunately, as soon as I change it to ⌘?, pressing the keys makes nothing happen. Literally, nothing - it doesn't even beep, as it would if I pressed ⌘3, for example.

On 13 Oct 2008, at 08:42:48, Ron Fleckner wrote:


On 13/10/2008, at 12:38 AM, Benjamin Dobson wrote:

Hi,

In Leopard, pressing ⌘? automatically activates the Help menu. Unfortunately, this means the ⌘? shortcut cannot be assigned to anything else. In my application, the ⌘? shortcut needs to perform a different action to the pre-built one. (It is a full-screen application, help is written on a simple panel.)

How can I rewire the ⌘? shortcut to my showHelp: method? _______________________________________________

Very easy. Just do it in Interface Builder. Select the Help menu item, then in the connections inspector disconnect it from it's default connection and re-assign it, or just simply delete the menu item.

HTH,
Ron_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/importedfromspace%40googlemail.com

This email sent to [EMAIL PROTECTED]

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to