Jump to content


please help me bind simble keymap


  • Please log in to reply
2 replies to this topic

#1 qqwww

qqwww
  • Guests

Posted 16 July 2012 - 12:06 AM

All i need is: when i press "x" key - i need "a" key to be pressed. When i press "x" second time - i need "m" key to be pressed 2 times. And i need that action in loop. I tried this:

x::a
KeyWait, x
Send {m 2}
return

But something is wrong and it is dont press "m" key...Please help/

#2 Guests

  • Guests

Posted 16 July 2012 - 01:24 AM

x::
keywait, x
Flag := (!Flag)
If (Flag)
     Send, a
If (!Flag)
     Send {m 2}
return
Your turn. Build the loop.

#3 Guests

  • Guests

Posted 16 July 2012 - 04:59 PM

Thanx alot :D