Page 1 of 1

Activate Dolby Atmos for Headphones with AHK

Posted: 30 Jul 2021, 15:21
by edu-hilario
I've been doing this one manually for a long time. Decided to create a hotkey to activate it (that's everytime the system boots).

Code: Select all

	
	;[Enter your hotkey here]::
		Run, control mmsys.cpl sounds
		WinWaitActive, Sound ;Or the corresponding on your language
		WinActivate, Sound ;Or the corresponding on your language
			Loop, ;[Insert here the number of the device, on the "Sound" list, you want to activate Dolby's]
			{
				Send {Down}
			}
		Send {Space}
		Send +^{Tab}
			Loop, 3 ;[If you have more filters increase this number]
			{
				Send {Down}
			}
		Send {Enter}
		WinClose, Sound ;Or the corresponding on your language
	Return