Created
August 12, 2015 01:39
-
-
Save lancepioch/cfe922f86d28e16e6142 to your computer and use it in GitHub Desktop.
Automatic Setup for Virtual Audio Cables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$vac = "C:\Program Files\Virtual Audio Cable\audiorepeater.exe"; | |
$ar = "Audio Repeater"; | |
$ss = "SelectString"; | |
Run($vac); | |
WinWait($ar); | |
ControlCommand($ar, "", 1001, $ss, "Microphone"); | |
ControlCommand($ar, "", 1002, $ss, "Line 2"); | |
ControlClick($ar, "", 1000, "left", 1); | |
Run($vac); | |
WinWait($ar); | |
ControlCommand($ar, "", 1001, $ss, "Line 1"); | |
ControlCommand($ar, "", 1002, $ss, "Line 2"); | |
ControlClick($ar, "", 1000, "left", 1); | |
Run($vac); | |
WinWait($ar); | |
ControlCommand($ar, "", 1001, $ss, "Line 1"); | |
ControlCommand($ar, "", 1002, $ss, "Speakers"); | |
ControlClick($ar, "", 1000, "left", 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment