Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I've seen the system wide tools (that all seem to just manipulate the default key bindings) that allow you to swap keys around, but has anyone found a way to swap keys for just one application? (no, the app in question doesn't offer it, and the author was a bit of a prick about it when I asked if they could enable an option to adjust them.)

I'm talking about real keys like home, end, page up, page down... not shortcuts.

share|improve this question
    
is your question about redefining shortcuts for commands or "really" for keys as Nilloc understands your question? –  Martin Apr 30 '11 at 6:17
add comment

3 Answers

If it's a menu item, you can create a custom shortcut in System Preferences>Keyboard Shortcuts>Application Shortcuts. It lets you (re)assign any menu commands to whatever keyboard shortcut you want, for a specific app only.

share|improve this answer
    
I think the question was about remapping keys for example <kbd>d</kbd> would behave as <kbd>e</kbd> (if it were switched to a dvorak layout, not assigning shortcuts. –  Nilloc Apr 30 '11 at 6:00
    
Nilloc is correct, this is about real keys. –  cabbey Apr 30 '11 at 23:25
add comment

You can use Ukelele to make your own keyboard layout, and switch to it when you open the application.

share|improve this answer
add comment

Keyboard Maestro might be your thing. Make a new command group which only applies to the application in question, then for each key you want to remap, make a new command with a hotkey trigger set to the real key and an "Insert Text" action set to what you want the key to be.

The only shortcoming I've found so far is that it can't handle the in-built volume control keys on an Apple keyboard. It can detect them & act upon the event, but it can't suppress the volume change. In fairness, nothing else can either. Most programs I tried can't even detect it. Keyboard Maestro is the king of the pile.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.