Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 26th, 2012  |  syntax: None  |  size: 0.47 KB  |  hits: 17  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #Persistent
  2. DllCall("winmm.dll\mciSendString", "Str", "open new alias MediaControlInterface type waveaudio wait")
  3. DllCall("winmm.dll\mciSendString", "Str", "set MediaControlInterface time format milliseconds wait")
  4. VarSetCapacity(MicrophoneVolumeRaw,100)
  5. SetTimer, CheckVolume, 0
  6. CheckVolume:
  7. DllCall("winmm.dll\mciSendString", "Str", "status MediaControlInterface level", "Str", MicrophoneVolumeRaw, "UInt", 100, "UInt", 0, "Cdecl Int")
  8. ToolTip, % MicrophoneVolumeRaw / 128 * 100