How to get current volume level Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
peter_ahk
Posts: 100
Joined: 13 Feb 2024, 14:49

How to get current volume level

Post by peter_ahk » 23 Mar 2024, 03:41

hello folks

i am trying to create a mute button that on its second click restores previous level, only problem is i do not know how to get that value

this is what i have now, it goes back to a pre set level which can be usefull for me to set my level to my standart when producing
but i would also like to build in another variation of this idea that goes back to previous

Code: Select all

VolumeMute:
mute++
if mute= 1
	{
		SoundSet, -100
		return	
	}
else if mute= 2
	{
		SoundSet, +%ResetLevel%
		mute= 0
		return
	}



Post Reply

Return to “Ask for Help (v1)”