Jump to content
Sign in to follow this  

bind 2 keys to 1 key

Recommended Posts


hey guys im tryng to create a macro following the instructios below ... can u guys post how you would do that macro ? thankssss

Get an scriptable instrument for some macros - this could be a programmable Keyboard or a software.

Now you have to place all of your chosen abilities which you wanna use for this to your first abilitybar, for example to the keys 1 and 2. Now you have to create a macro which combines all two keystrokes on one button - for example the key #3, with your best DMG ability (which "HAVE" a CD on it) at your abilitybar. At next you have to set the #3 key to an "use by press" (easy if you have a g15 or something like that) that you don't have to press this button again all the time and can still push them down. Now the trick in this is, to create a second macro which spams the first macro hundreds of time by pressing the #3 key.

Edited by josh77

Share this post

Link to post
Share on other sites

For a key that presses two keys, try something like this.

HotKeySet("3", "OneAndTwo")

Func OneAndTwo()
     Send("12") ;presses the 1 key, followed by the 2 key

For spamming the macro, you could do something like

For $i = 0 To 100

Just read a little of the help file about the functions mentioned, and it should be easy to make a script to do this.

Share this post

Link to post
Share on other sites

something like this?

HotKeySet("a", "Press_C_and_B")
HotKeySet('{ESC}', '_EXIT')


Func Main()
    While 1
EndFunc   ;==>main

Func Press_C_and_B()

    Send("{c down}") ;Holds the c key down
    Send("{b down}") ;Holds the b key down
    Send("{c up}") ;Releases the c key
    Send("{b up}") ;Releases the b key

EndFunc   ;==>Press_C_and_B

Func _EXIT()
    $iMsgBoxAnswer = MsgBox(0, "", "Goodbye")
EndFunc   ;==>_EXIT

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this