Hot key help?

I change between different audio inputs on my computer a lot. Normally disabling my speaker and my desktop mic and enabling my headset and my headset mic by using the windows audio manager (on windows 7). I was wondering if anyone knows of a way to make a hotkey that will do this automatically. Either a single macro that toggles which one is enabled or 2 different macros that disable each other and both enable either the headset or the desktop set up. I have a razer keyboard so razer synapse is the most immediate macro'ing program i have available but i think this may be done by utilizing a language called AHK (auto hot key)

I will edit this post if i make any progress