Page 1 of 1

Hi. Can AHK do a job like when you press down one hot key

Posted: 04 Feb 2014, 06:41
by Cui
Hey, Guys.

I am from China. I am a "The King of fighters" big fan.

Can AHK do a job like: when you press down one hot key the command start and when the hot key is up the command stop , and when you press down the hot key for a second time the command start all over again?

I would like to do a combo with one hot key . However , I also want to stop the combo when I lift up from the button if I realised that it was not necessery to finish the combo command?

Thanks!

If not please add the function to the software which will do a big change to the fighting games! Thanks very much!

Re: Hi. Can AHK do a job like when you press down one hot ke

Posted: 04 Feb 2014, 09:28
by fischgeek
Hi and welcome to the forums! Yes, AutoHotkey can do that. If you're new to the language, head over to the Tutorial to get started. Then, to accomplish your task you will probably be using a combination of Hotkeys, GetKeyState and the While Loop.

Try out some code. Fix issues. Smile. Repeat. Post your code in the "code" tags if you get stuck and someone will try to help you out.

Good luck!

Re: Hi. Can AHK do a job like when you press down one hot ke

Posted: 05 Feb 2014, 01:40
by LazyMan
There are some examples in nimda's The definitive autofire thread!.