As the help file suggests, I've tried changing some keyboard shortcuts with System Preferences->Keyboard & Mouse->Keyboard Shortcuts. I'm trying to change the following items in the Text menu:
Reformat Paragraph Reformat & Justify Unwrap Paragraph
I can get Reformat & Justify to work but not Reformat Paragraph and Unwrap Paragraph.
I suspect it's because both of those items change their name depending on wether text is selected. I.e., when text is selected they become Reformat Selection and Unwrap Selection.
I've tried setting the same shortcut for both, e.g., Reformat Paragraph and Reformat Selection to try to cover both menu states, but it doesn't work and the System Preferences warns me of an error because of the duplicate shortcut key.
Does anyone know how/if I can make that work? Or am I just out of luck because of the way the item changes names?
Incidentally, I've worked around it by creating a local KeyBindings.dict, I'd just prefer to do it with the System Preferences so I don't have to always keep my KeyBindings.dict up-to-date between version changes.
Thanks much for any ideas!
On 18. Oct 2004, at 23:04, Chris Brierley wrote:
This is a bit dated, but the resolution didn't occur to me before yesterday.
As the help file suggests, I've tried changing some keyboard shortcuts with System Preferences->Keyboard & Mouse->Keyboard Shortcuts. I'm trying to change the following items in the Text menu:
Reformat Paragraph Reformat & Justify Unwrap Paragraph
I can get Reformat & Justify to work but not Reformat Paragraph and Unwrap Paragraph.
I suspect it's because both of those items change their name depending on wether text is selected. I.e., when text is selected they become Reformat Selection and Unwrap Selection.
The problem is that menu keys are bound at startup time, and these menu items actually have a third title at that time, which for the two problematic items are: Reformat Paragraph/Selection Unwrap Paragraph/Selection
This is my general convention, e.g. for show/hide items the initial title is “Show/Hide Something” etc.
You can open MainMenu.nib under “Show Package Contents” -> Contents/Resources/English.lproj to see the state of the menu at loading time.
So if you use the titles above, it will work (just tested).