$$$$$$\ $$\ $$\ $$\ $$\
$$ __$$\ $$ |\__| $$$\ $$$ |
$$ / $$ |$$\ $$\ $$$$$$$ |$$\ $$$$$$\ $$$$\ $$$$ | $$$$$$\ $$$$$$$\ $$$$$$\ $$$$$$\
$$$$$$$$ |$$ | $$ |$$ __$$ |$$ |$$ __$$\ $$\$$\$$ $$ | \____$$\ $$ _____|$$ __$$\ $$ __$$\
$$ __$$ |$$ | $$ |$$ / $$ |$$ |$$ / $$ | $$ \$$$ $$ | $$$$$$$ |$$ / $$ | \__|$$ / $$ |
$$ | $$ |$$ | $$ |$$ | $$ |$$ |$$ | $$ | $$ |\$ /$$ |$$ __$$ |$$ | $$ | $$ | $$ |
$$ | $$ |\$$$$$$ |\$$$$$$$ |$$ |\$$$$$$ | $$ | \_/ $$ |\$$$$$$$ |\$$$$$$$\ $$ | \$$$$$$ |
\__| \__| \______/ \_______|\__| \______/ \__| \__| \_______| \_______|\__| \______/
Audio Macro is a simple macro script that will play a sound with a specified key bind. It uses AutoHotKey Script to handle keyboard events, and VBS to copy into the start folder automatically.
- Download and unzip the AudioMacro.zip archive into any empty directory
- Add your sound file(s) which can be either
.wav
or.mp3
into theassets\sounds\
directory - Open the
macro.ahk
inassets\
with a text editor. It will look like this:
RAlt::
SoundPlay, sheesh.mp3
return
- Change the file name
sheesh.mp3
to match whatever your file is called. - If you want, you can add more hotkeys by copying the AHK function and changing the
RAlt
to another key bind. Official documentation for the AHK key list and combinations can be found on the AutoHotKey Documentation Page
- Install AutoHotKey from here.
- Double click the
audio_macro.vbs
file and it should prompt you through the installation - Restart your PC and the macro will run every time your computer boots up.
- If you would like to start the macro without Rebooting, navigate to
%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup
and click theaudio_macro.vbs
file.
- Go to the task bar and find the AHK icon (Likey a green box with a white "H"), right click it and hit
Exit
- Navigate to
%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup
- Delete
audio_macro.vbs
- Delete
assets\