Hmmmm.. ok. I downloaded the script file, double clicked it while Realtek Audio is active, and while I do see the Audio properties popup and disappear right away, nothing changes. The device is not switched.
This is the script I used:
This is the script I used:
Code
SetTitleMatchMode, Slow
Run, RunDll32.exe shell32.dll`,Control_RunDLL mmsys.cpl`,`,2
WinWait,ahk_class #32770
IfWinActive, ahk_class #32770, RealTek AC97 Audio
send, {alt down}d{alt up}s{enter}
else
send, {alt down}d{alt up}r{enter}





. I wish I could do it myself but I don't even have a damn clue how that super simple script I have now works... so... thanks.



:D:D. Brilliant! Thank you very much. Thanks to everybody else trying to help as well. Just awesome. Wow 



