I snapped this tip up on Apple's mailing list: projectbuilder-users@lists.apple.com. Full credits to the author, Mike Ferris.
You can modify any keyboard shortcut in any Cocoa app using the very powerful defaults system. The key you want to modify in your defaults database is NSUserKeyEquivalents.
The following example would set the Activity Viewer menu item of Mail.app to be command+shift+A:
@U0008 which would mean command+Delete.
This is really good, since it does not involve modifying the original application, and only applies to your environment, leaving that of others unchanged. I will try to make an app to handle this proceedure some time in the future.
You can modify any keyboard shortcut in any Cocoa app using the very powerful defaults system. The key you want to modify in your defaults database is NSUserKeyEquivalents.
The following example would set the Activity Viewer menu item of Mail.app to be command+shift+A:
defaults write com.apple.Mail NSUserKeyEquivalents '{"Activity Viewer"="@$A";}'The odd characters before the 'A' in the previous command, specify the modifiers:- @ = Command
- $ = Shift
- ~ = Option
- ^ = Control
@U0008 which would mean command+Delete.
This is really good, since it does not involve modifying the original application, and only applies to your environment, leaving that of others unchanged. I will try to make an app to handle this proceedure some time in the future.
•
[15,710 views]

