#include <Misc.au3> Global $hDLL = DllOpen("user32.dll") HotKeySet("{SPACE}","RSendHold") HotKeySet("{F9}", "Terminate") Send("{NUMLOCK off}") While 1 Sleep(10) WEnd Func Terminate() DllClose($hDLL) Exit EndFunc Func RSendHold() HotKeySet("{SPACE}","") Local $x For $x=0 to $x=1 If _IsPressed("20", $hDLL) Then Send("{SPACE UP}") EndIf If _IsPressed("26", $hDLL) Then Send("{Q down}") Send("{NUMPADADD down}")