Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Create a universal shortcut to most apps' Preferences dialog' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create a universal shortcut to most apps' Preferences dialog
Authored by: englabenny on May 09, '03 08:18:00PM

This feature, to be able to change shortcuts in Prefs is sadly not nearly as good as I could've been. It works, yes, but only if the menu item name is "Preferences..." exactly; Most of my apps are localized to swedish however, thus the shortcuts corresponding to "Inställningar..." is left unchanged.
Even worse, using defaults write to write accented chars like ä in "Inställningar..." does not seem to work.. :( This is a cool feature, but it needs work.



[ Reply to This | # ]
Found a Fix
Authored by: englabenny on May 10, '03 06:03:11AM

I used a donationware from ittpoi called Rekey to do this, it worked great, even with swedish characters.

www.ittpoi.com



[ Reply to This | # ]
Found a Fix
Authored by: bluehz on May 10, '03 11:52:29AM

Thx - I have tried Rekey before - and while it seems that it should do the trick - it crashes on me 95% of the time. Don't think its fully baked yet. Great idea though - but should be built into System anyway.



[ Reply to This | # ]
Here's how to do non-ASCII chars…
Authored by: carsten on May 10, '03 12:39:49PM

From the Terminal, characters must be entered in unicode hex:

  • "ä" = "\U00e4"
  • "…" = "\U2026"

Use the Character Pallette in the Keyboard menu to look up the hex Unicode values.


defaults write NSGlobalDomain NSUserKeyEquivalents '{"Inst\U00e4llningar..." = "@,"; }'

Once you have done this, log out and back in to see the changes written into the file:

  • ~/Library/Preferences/.GlobalPreferences.plist

The file is encoded with UTF-8. Open it with Project Builder. Choose the "Format" menu, then "File Encodings", "Unicode? (UTF-8)" then click Reinterpret. Once opened this way, the Project Builder window will update to show any changes you make in the Terminal.

(Of course at this point you can just continue to edit the key commands in Project Builder rather than using the terminal).

[ Reply to This | # ]