I want to convert this autoit code to ahk if anybody wanna help i'll be much appreciated.
Thanks
Code: Select all
Func Local()
While 1
Global $hDLL = DllOpen("user32.dll")
If _IsPressed("space", $hDLL) Then
; Wait until key is released.
While _IsPressed("W", $hDLL)
Sleep(20)
Send("{SHIFT}")
ExitLoop
WEnd
EndIf
WEnd
EndFunc