AHK not working in video games Topic is solved

Ask gaming related questions (AHK v1.1 and older)
KernelPopcorn

AHK not working in video games

01 Nov 2015, 12:58

Hello. I really like this program but it doesn't seem to work in any kind of game I play. I've tested it in Gmod, America's Army, Unturned, etc. and it just doesn't work. Any help?
KernelPopcorn
Posts: 7
Joined: 01 Nov 2015, 13:00

Re: AHK not working in video games

01 Nov 2015, 13:14

Followup: the only thing it does seem to work in is skype.
User avatar
Exaskryz
Posts: 2882
Joined: 17 Oct 2015, 20:28

Re: AHK not working in video games

01 Nov 2015, 13:32

There's a post on the other forums (not sure of an equivalent on the new forums) that talks about video game troubleshooting. Check it out: http://www.autohotkey.com/board/topic/1 ... he-basics/
KernelPopcorn
Posts: 7
Joined: 01 Nov 2015, 13:00

Re: AHK not working in video games

01 Nov 2015, 20:26

Thanks, that helped. The problem was it wasn't running as admin. Now that I've got the script working, though, I've noticed one of my phrases doesn't seem to work with the hotkey. I programmed the script so when I press Ctrl+L it types this; ( ͡° ͜ʖ ͡°). This works on skype and other things, but in select games it types something like this; (? ? ?). I thought at first that the game simply didn't support those characters, but then I saw someone else type it, leading me to believe it's something to do with the way I set up the script.
grant
Posts: 323
Joined: 14 Oct 2015, 17:27

Re: AHK not working in video games

03 Nov 2015, 03:36

Show us what you have got so far.

It might be that some of the characters are not accepted, are you able to manually type it in?
KernelPopcorn
Posts: 7
Joined: 01 Nov 2015, 13:00

Re: AHK not working in video games

04 Nov 2015, 18:44

^l::
Send, ( ͡° ͜ʖ ͡°)
return

!!::
Send, ¡
return

!n::
Send, ñ
return

!a::
Send, á
return

!e::
Send, é
return

!i::
Send, í
return

!o::
Send, ó
return

!u::
Send, ú
return

!?::
Send, ¿
return
grant
Posts: 323
Joined: 14 Oct 2015, 17:27

Re: AHK not working in video games  Topic is solved

05 Nov 2015, 03:49

Ok, so I have no idea how to get the specific keys that you are wanting to send but the "²" is a similar thing that you might want to send. This is done by Alt253.
Try something like this:

Code: Select all

numpad0:: send, {alt down}{numpad2}{numpad5}{numpad3}{alt up}

Code: Select all

Send, {alt down}253{alt up}
will not work because you are then sending the numbers from the row of keys at the top of the keyboard and not the numberpad. These special keys can only be sent from the numberpad.

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 164 guests