ErrorLevel("off")
Include("Variables.mscr")
Call Variables
##############

#This script mutes audio when run and then launches a volume control utility. Once the utility is no longer the active window, it is terminated.

SetVolume(0)
Run(ProgramsFolder\"VolumeCtrl.exe")
Sleep(2000)

While(ActiveWindow() eq "VolumeCtrl")
	Sleep(1000)
EndWhile

Close("VolumeCtrl")
