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

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Cui

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

04 Feb 2014, 06:41

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!
User avatar
fischgeek
Posts: 435
Joined: 29 Jan 2014, 21:39

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

04 Feb 2014, 09:28

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!
User avatar
LazyMan
Posts: 26
Joined: 14 Jan 2014, 00:22
Location: peering out from behind my favorite rock

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

05 Feb 2014, 01:40

There are some examples in nimda's The definitive autofire thread!.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 176 guests