Binding any cheat to any key with AutoHotKey

Users who are viewing this thread

I use a lot slow-mo cheat. So, I wrote a AutoHotKey (a freeware program) script for binding CTRL+F9 to "e" key. You can change the script as you wish.

Code:
#IfWinActive Mount&Blade ;This script works only if Mount&Blade window is active.
e:: ;I dont use e key for anything except giving a name to my character. So, I have choosen it.
Send e ;Presses e key. When I want to change my character name, I can type letter e.
Send {Ctrl down} ;Hold down Control button.
Sleep 100 ;Wait for 0.1 second.
Send {F9 down} ;Hold down F9 key.
Sleep 100 ;Wait for 0.1 second.
Send {F9 up} ;Release F9 key.
Send {Ctrl up} ;Release Control key.
return

;Binding Ctrl+H Health Cheat to h key.
h::
Send h
Send {Ctrl down}
Sleep 100
Send {h down}
Sleep 100
Send {h up}
Send {Ctrl up}
return

AutoHotKey Instructions:
Copy/Paste codes to Notepad.
Save as "script.ahk" (with ahk extension, not txt)
If you add a shortcut to startup directory (in Start Menu), it'll start by itself.
 
hey i tried exactly as what your instruction says but it still doesnt work can you help me?
Edit: i found the problem, i was running the game on admin the script wont work but when i opened the game normally the script work thx for the script :smile:
 
Last edited:
Back
Top Bottom