<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.eech.online/index.php?action=history&amp;feed=atom&amp;title=Talk%3AHowto%3A_AutoHotkey</id>
	<title>Talk:Howto: AutoHotkey - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.eech.online/index.php?action=history&amp;feed=atom&amp;title=Talk%3AHowto%3A_AutoHotkey"/>
	<link rel="alternate" type="text/html" href="https://wiki.eech.online/index.php?title=Talk:Howto:_AutoHotkey&amp;action=history"/>
	<updated>2026-12-06T19:27:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.47.0</generator>
	<entry>
		<id>https://wiki.eech.online/index.php?title=Talk:Howto:_AutoHotkey&amp;diff=322&amp;oldid=prev</id>
		<title>imported&gt;SimHQ import: Imported from eechcentral.simhq.net</title>
		<link rel="alternate" type="text/html" href="https://wiki.eech.online/index.php?title=Talk:Howto:_AutoHotkey&amp;diff=322&amp;oldid=prev"/>
		<updated>2026-11-14T00:00:00Z</updated>

		<summary type="html">&lt;p&gt;Imported from eechcentral.simhq.net&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Lets assume you have 2 joysticks in Game Devices:&amp;lt;br/&amp;gt;&lt;br /&gt;
1: generic 4 button joystick&amp;lt;br/&amp;gt;&lt;br /&gt;
2: 4 button gamepad&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And assume that we decide that we want these things to happen for our buttons:&lt;br /&gt;
&lt;br /&gt;
Joystick 1, button 1: stable hover hold&amp;lt;br/&amp;gt;&lt;br /&gt;
Joystick 1, button 2: laser arm/disarm&amp;lt;br/&amp;gt;&lt;br /&gt;
Joystick 2(gamepad), button 1: Radar Jammer on/off&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Steps:&lt;br /&gt;
* download AutoHotKey and install it;&lt;br /&gt;
* open notepad;&lt;br /&gt;
* for the flare, we need to send a SHIFT &amp;#039;h&amp;#039; keypress, for button 1 on joystick 1.&lt;br /&gt;
&lt;br /&gt;
So type the following in your notepad file:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Joy1::&lt;br /&gt;
   Send +h&lt;br /&gt;
   return&lt;br /&gt;
&lt;br /&gt;
Joy1 means the first joystick button. The &amp;#039;::&amp;#039; starts your definition.  &amp;#039;Send&amp;#039; means send a keypress. The plus sign (+) represents the shift key.  (^ represents CTRL and ! represents ALT)  The other control key codes can be found here:&lt;br /&gt;
http://www.autohotkey.com/docs/Hotkeys.htm&lt;br /&gt;
&lt;br /&gt;
You need to put the &amp;#039;return&amp;#039; command between buttons in the config file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Next we want to turn the laser on with a &amp;#039;*&amp;#039; keypress.&lt;br /&gt;
&lt;br /&gt;
 Joy2::&lt;br /&gt;
   Send {NumpadMult}&lt;br /&gt;
   return&lt;br /&gt;
&lt;br /&gt;
The {NumpadMult} represents one of the keys on the numberpad.  Some of the keys have special codes, which you can find here:&lt;br /&gt;
http://www.autohotkey.com/docs/KeyList.htm&lt;br /&gt;
&lt;br /&gt;
* Next we want to turn the radar jammer on with a &amp;#039;j&amp;#039; keypress.&lt;br /&gt;
&lt;br /&gt;
 2Joy1::&lt;br /&gt;
   Send j&lt;br /&gt;
   return&lt;br /&gt;
&lt;br /&gt;
Here, we need to prefix the joystick number (if you don&amp;#039;t provide a leading joystick number, it assumes 1).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* So the final config looks like this:&lt;br /&gt;
&lt;br /&gt;
 Joy1::&lt;br /&gt;
   Send +h&lt;br /&gt;
   return&lt;br /&gt;
 Joy2::&lt;br /&gt;
   Send {NumpadMult}&lt;br /&gt;
   return&lt;br /&gt;
 2Joy1::&lt;br /&gt;
   Send j&lt;br /&gt;
   return&lt;br /&gt;
&lt;br /&gt;
* Save the file to your desktop as &amp;quot;EECH.ahk&amp;quot;. Double-click the file to run, and you should see a green H appear in your system tray.&lt;br /&gt;
&lt;br /&gt;
And you&amp;#039;re done. Fire up EECH and try it out.&lt;br /&gt;
&lt;br /&gt;
To turn off your config, right-click on the green H in your system tray and click &amp;#039;Exit&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
You can do a lot of cool things with AutoHotKey, infact I&amp;#039;ve only scratched the surface.  To learn more, you can read the online help, or on their website:  http://www.autohotkey.com/docs/&lt;/div&gt;</summary>
		<author><name>imported&gt;SimHQ import</name></author>
	</entry>
</feed>