Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mute Status
#2
Download the attachment and import to QM.
Also need WINAPI2: http://www.quickmacros.com/forum/showthr...p?tid=1371

Macro AudioMixer help
Code:
Copy      Help
;Gets or sets audio device volume or mute state.
;Uses WINAPI2: http://www.quickmacros.com/forum/viewtopic.php?p=6619
;Does not work on Windows XP.

;EXAMPLES

#compile "__AudioMixer"
AudioMixer x
sel ListDialog("Get volume (%)[]Set volume 50%[]Set volume 100%[]Get mute[]Mute[]Unmute")
,case 1 out x.GetVolume
,case 2 x.SetVolume(50)
,case 3 x.SetVolume(100)
,case 4 out x.GetMute
,case 5 x.SetMute(1)
,case 6 x.SetMute(0)


Attached Files
.qml   AudioMixer.qml (Size: 5 KB / Downloads: 407)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)