Help with autohotkey for game

Ask gaming related questions
JuanCasas
Posts: 6
Joined: 27 Apr 2016, 00:32

Help with autohotkey for game

27 Apr 2016, 18:54

Hello I need to put together a program to continuously repeat 1000 times 3 letters (a, s , d ) automatically in a range of 0.19 sec, for this use the following code :

Alt ::
Loop, 1000 {
Send, {a }
Send, { s }
Send { d }
Sleep , 19
}
return


I tried to make it work in a game, in a notebook me working properly and around the desk, but in the game does not play the program. I have to be configured to operate in that game somehow ? I help a lot . Thank you!
User avatar
Capn Odin
Posts: 1308
Joined: 23 Feb 2016, 19:45
Location: Denmark

Re: Help with autohotkey for game

27 Apr 2016, 19:26

Dependent on the game you will need to use different approaches.
Try this.

Code: Select all

Alt::
	Loop, 1000 {
		SendPlay, {a}{s}{d}
		Sleep , 190
	}
return
Please excuse my spelling I am dyslexic.
JuanCasas
Posts: 6
Joined: 27 Apr 2016, 00:32

Re: Help with autohotkey for game

27 Apr 2016, 23:40

I thank you for the friend helps , but does not work in the game outside the game is just ... mu online ( mudarlin.net ) ... I have to mention the game process in the program maybe?
User avatar
Flarebrass
Posts: 104
Joined: 20 Nov 2015, 13:13
Location: USA
Contact:

Re: Help with autohotkey for game

29 Apr 2016, 09:49

See Making AHK work in games for some additional tips.
(Note that I can't test my code before posting, so beware of bugs! -Flarebrass Amatzikahni)

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 23 guests