There is a folder in the Start Menu called Startup. If you put a shortcut to your script in that folder, the script will launch automatically every time you start your PC.
To create a shortcut:
- Find the script file, select it, and press Control-c.
- Press Windows Key + r to start run window.
- Type shell:Startup and press ok, it will open the startup folder
- Paste the script by Control-p
When properly started, you can see Autohokey icons for each scripts in your taskbar.
-
closeApplication.ahk : Maps Control-q to Alt-F4. So, we can close applications by pressing Control+q in UNIX/Mac way.
-
VolumeControl.ahk : Maps Control + Shift + Numpad +/-/enter to Volume Up/Down/Mute.