#include <Misc.au3>
HotKeySet("{ESC}", "Terminate")
Opt ("SendKeyDelay",15) ; delay between sending keys - default 5
Opt ("SendKeyDownDelay",5) ; how long to hold down a key - default 5
While 1
Sleep(10) ; always a good idea so you dont max your cpu
If _IsPressed('11') Then Send ("{SPACE}{SPACE}") ; '11' = a CTRL key
WEnd
Func Terminate()
Exit 0
EndFunc ;==>Terminate
Credits to Spookmeister
I tried using an existing autoit and changed the hotkeys but it seems this jus keeps pressing dd dd dd the whole way? instead of only when i press my hotkey in this case ctrl any help would be appreciated thx.