Code not working

Ask gaming related questions (AHK v1.1 and older)
bo64e
Posts: 1
Joined: 22 Feb 2020, 15:18

Code not working

23 Feb 2020, 03:47

I have a code that presses space every 5 seconds after I press ctrl + J. I intended to use it for minecraft to make myself jump but when I start it and change the window to minecraft it does not do anything. I have tested it on notepad and the code runs correctly but it doesn't work on the game. Is there something I'm missing?

My code:

Code: Select all

^j::
#Persistent
SetTimer, PressTheKey, 5000
Return

PressTheKey:
Send, {space}
Return

esc::exitapp
Return

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 94 guests