MENU "Global Commands" {
	STATE "Global Commands" GLOBAL {
		COMMAND "WinAmp Volume <UpDown> <1To15>" {
			SCRIPT {
				IF _arg1 = "Up" THEN _arg1 = "{Shift+Ctrl+u}"
				IF _arg1 = "Down" THEN _arg1 = "{Shift+Ctrl+d}"
				
				loop& = _arg2
				WHILE loop& > 0
				SendSystemKeys _arg1, 250
				Wait 10
				loop& = loop& - 1
				WEND
			}
		}

		COMMAND "<WinAmp>" {
			SCRIPT {
				SendSystemKeys mid$(_arg1, 0, instr(_arg1, "\") - 1), 250
			}
		}

		LIST "UpDown" {
			"Up"
			"Down"
		}

		LIST "1To15" {
			"1"
			"2"
			"3"
			"4"
			"5"
			"6"
			"7"
			"8"
			"9"
			"10"
			"11"
			"12"
			"13"
			"14"
			"15"
		}

		LIST "WinAmp" {
			"{Ctrl+Shift+z}\\Previous WinAmp Track"
			"{Ctrl+Shift+x}\\Play WinAmp"
			"{Ctrl+Shift+c}\\Pause WinAmp"
			"{Ctrl+Shift+c}\\Mute WinAmp"
			"{Ctrl+Shift+v}\\Stop WinAmp"
			"{Ctrl+Shift+b}\\Next WinAmp Track"
			"{Ctrl+Shift+u}\\WinAmp Volume up"
			"{Ctrl+Shift+d}\\WinAmp Volume down"
			"{Ctrl+Shift+f}\\Fast Forward WinAmp"
			"{Ctrl+Shift+r}\\Rewind WinAmp"
			"{ScrollLock}\\Search For WinAmp Files"
		}
	}
}