Keyboard macro?

07/09/2007 00:57 ManBoobs#1
Is there any macro that can bind 1key like R to down , right , E ?
I found one but that press them all at the same time i want a tiny pause in it.

+k to one providing.

~Regards moobs
07/09/2007 03:06 Hiyoal#2
Yea use auto it. Autoit download site at the bottom of the page

Use this line of code for help.


Quote:
While 1
Hotkeyset("w","w")<span style='color:green'>;if w is pressed code will play w function
Hotkeyset("s","s");if s is pressed code will play s function
Hotkeyset("a","a");if a is pressed code will play a function
Hotkeyset("d","d");if d is pressed code will play d function
Wend

Func w();this is function w
send("{UP}"); when w is pressed then UP key will be pressed instead of w
EndFunc

Func s();this is function s
send("{DOWN}"); when s is pressed then DOWN key will be pressed instead of s
EndFunc

Func a();this is function a
send("{LEFT}"); when a is pressed then LEFT key will be pressed instead of a
EndFunc

Func d();this is function d
send("{RIGHT}"); when d is pressed then RIGHT key will be pressed instead of d
EndFunc</span>

If ure looking for r to press down, right and e with a pause then use this code:

Quote:
While 1
hotkeyset("r","binding")
Wend

Func binding()
Send("{DOWN}")
sleep(1000)<span style='color:green'>;this makes the code pause for 1 second or 1000ms
Send("{RIGHT}")
sleep(1000)
send("e")
EndFunc</span>


[Only registered and activated users can see links. Click Here To Register...]

Hope that helps. :)

Hiyoal

+k if that helps ty.
07/09/2007 03:44 Hiyoal#3
Heres the prog

+K plz
07/09/2007 06:22 ManBoobs#4
It works perfect 100%!.

Able to lock this topic cause i got what i needed

~Moobs
07/09/2007 12:39 a1blaster#5
Question answered.

#Closed