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.

How do I remap key so that when I press 2 or 3 it actually types 2q or 3q with a 50ms delay between the number and the letter?

This doesn't work:

2::
send 2
sleep, 30
send q
share|improve this question
    
Is this specific to autohotkey or is it a batch file or something? Also, just wondering, what are you planning on doing with this? Sounds evil, but funny. –  Chipperyman Jul 22 '13 at 22:50

1 Answer 1

up vote 0 down vote accepted

Remapping a key to send itself requires you to use the $ modifier.

$2::
    SendInput, 2
    Sleep 30
    SendInput, q
Return 
share|improve this answer

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.