Hi everyone!
Nice tool, is very useful in vista and multi monitor.
I'm adding a new function to Toggle muting the Mic In and the Line In (not messing with volume functions), it's just a test, I want to improve it as much as I can (took the code from an example script).
Code:
MicVolMute(P)
{
VA_SetMute(!VA_GetMute("7"),"7")
if VA_GetMute("7")
{
CustomColor = EEAA99 ; Can be any RGB color (it will be made transparent below).
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow ; +ToolWindow avoids a taskbar button and an alt-tab menu item.
Gui, Color, %CustomColor%
Gui, Font, s25 ; Set a large font size (32-point).
; Make all pixels of this color transparent and make the text itself translucent (150):
WinSet, TransColor, %CustomColor% 200
Gui, Add, Text, cLime, Mic Mute ; XX & YY serve to auto-size the window.
Gui, Show, x850 y720 NoActivate
}
else
{
Gui, Destroy
}
}
Is there a way to autoexecute this at the program start???
Code:
if VA_GetMute("7")
Of course, I'm gonna put the window (OSD) in another place on the main screen
Any help will be highly appreciated.