Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

This was a comment i left for someone and realize it is a full blown question. It is to remap a game key from numpad4 to something i quickly can press.

I couldnt figure this out. It seems like it doesnt recognize shift (i tried using shift o and then O:: with no luck). Then i tried ::df:: (as in press them at the same time to trigger) but it looks like it triggers when i write df then a non alphabet character after it. And shift, ctrl, etc which i can hit with my pinky quickly doesnt count. How do i write a trigger i can hit quickly with my left hand? Currently my file is ::df::Send {Numpad4}

share|improve this question
1  
::df::... is an AutoHotkey hotstring. But it sounds like you want to make a hotkey like +o::Send {Numpad4} or d & f::Send {Numpad4}. –  Bavi_H Aug 18 '10 at 1:15
    
That was an answer. If it make it into one i'll accept it cause it worked. –  acidzombie24 Aug 19 '10 at 0:54

1 Answer 1

up vote 2 down vote accepted

The ::df::... type of definition is an AutoHotkey hotstring, which is used for expanding abbreviations automatically, but it sounds like you want to stick with hotkeys.

As explained on the hotkeys page, AutoHotkey uses special symbols for modifier keys: ^ for Ctrl, + for Shift, ! for Alt, and # for the Windows key.

You can use & to make other keys act as modifiers, for example d & f will make the d key become a modifier key. But this causes the d key to lose its original function. As explained on the hotkeys page, you can use something like d::Send d to have the d key function normally when you release the key.

So to do what you want, you might use something like +o::Send {Numpad4} or d & f::Send {Numpad4}.

share|improve this answer
    
ah, you didnt need to write that much. The comment you left really was long enough lol. Thanks -edit- i am glad you added the 4 modifier symbols. That will help in future reference. –  acidzombie24 Aug 19 '10 at 15:02

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.