its a simple tool that lets you redifine what is done on a button press
now load the programm, click on "File > Edit Script" and insert the following
#InstallKeybdHook#InstallMouseHook#Persistent#SingleInstance forceSetBatchLines,-1#UseHook On
settimer, hookCheck,1000return; these are just test hotkeys which will make
;Douchebag fart
; replace with your own.Up::w
Down::s
Left::a
Right::d
Delete::SpaceRShift::LShift
send {click R}return;This hotkey will fire ifAHKs hook is still
; positioned before south parks
$vkFF::
lastTick := A_TickCount
return
hookCheck:;Raise send level so will activate AHKs own hotkeys
sendlevel 1; send a non-existent key which will do nothing
; must be sendEvent - sendInput removes the hook during the send
; command, thereby preventing us from detecting it
SendEvent{VKFF}
sleep 200;If AHK hasn't detected the sent key,
; then AHK's hook is now after SP:SoTand hotkeys wont work
; either reload the script or perform a sendInput
; sendInput removes andthen reinstalls AHKS low
; level hook.if(A_TickCount - lastTick >1500)
sendInput {VKFF}{click 0}; could replace thiswith a reload
;reload
return
simple save the Textfile, and use "File > Reload Script"
Question
Heffernan
Hello,
as many have noticed Keybinding doesnt work in SP as its a Console Port, so i wrote a simple guide to have Auto-It use the Arrow Buttons.
Download and Install: http://ahkscript.org/download/1.1/AutoHotkey111403_Install.exe
its a simple tool that lets you redifine what is done on a button press
now load the programm, click on "File > Edit Script" and insert the following
simple save the Textfile, and use "File > Reload Script"
there u have it
W = UP
S = DOWN
A = LEFT
D = RIGHT
DELETE = ACTION
SHiFT RIGHT = SHIFT LEFT
Done.
4 answers to this question
Recommended Posts