-﻿#NoTrayIcon
+#NoTrayIcon
 #Persistent
 #SingleInstance force
 #NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.

Gui, Color, FFD54F  ; Set background color
Gui, Font, s32 w600, Arial  ; Set a large font size (32-point).
Gui, Font,, Ubuntu Condensed  ; Preferred font.
Gui, Add, Text, vOSDTextValue +Center, MUTE
;-------------------------------------------------------

;;*******************************************************

return
MButton::
	Send {Volume_Mute}
	Sleep, 100 
	SoundGet, Mute, Master, MUTE
	if (Mute = "ON")
	{
		ShowOSD("MUTE")
	} else {
		ShowOSD("UNMUTE")
	}
return

;-------------------------------------------------------
