Jump to content

So I am trying to write a script for a game.I am using mode for game GTA San Andreas,the hotkeys work fine with the game I tried some other scripts but I can not get the keys that mod use to work with autohotkey.So basically the mod does not recognize the keys pressed with autohotkey only directly from keyboard,is there a way to make AHK work with specific programs or mods?

Numpad2:: 

SendInput, {enter}
Sleep, 1000
SendInput, {Numpad1}
Sleep, 1000
SendInput, {Numpad1}
Sleep, 1000
SendInput, {Numpad1}
Sleep, 1000
SendInput, {Numpad1}
Sleep, 1000
SendInput, {Numpad1}
Sleep, 1000
SendInput, {Numpad1}
Sleep, 1000
SendInput, {NumpadMult}

Mode uses Numpad1 to perform action,which in this case does not work with AHK.

Link to comment
https://linustechtips.com/topic/640668-autohotkey-help/
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×