
Untitled
By: a guest on
Apr 26th, 2012 | syntax:
None | size: 0.47 KB | hits: 17 | expires: Never
#Persistent
DllCall("winmm.dll\mciSendString", "Str", "open new alias MediaControlInterface type waveaudio wait")
DllCall("winmm.dll\mciSendString", "Str", "set MediaControlInterface time format milliseconds wait")
VarSetCapacity(MicrophoneVolumeRaw,100)
SetTimer, CheckVolume, 0
CheckVolume:
DllCall("winmm.dll\mciSendString", "Str", "status MediaControlInterface level", "Str", MicrophoneVolumeRaw, "UInt", 100, "UInt", 0, "Cdecl Int")
ToolTip, % MicrophoneVolumeRaw / 128 * 100