Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Play or Bee volume
#2
Set bee volume:
Macro
Code:
Copy      Help
int v=10 ;;0 - 100
v=v*0xffff/100; waveOutSetVolume(0 v<<16|v)

bee "$windows$\media\notify.wav"

;waveOutSetVolume(0 0xffffffff) ;;restores to 100%. Use here only if bee is with +.

XP: Changes volume for all programs. Cannot only for QM.
Vista: Changes volume only for QM. Also, only if bee "file", but not if bee or bee 1 etc.

----------
Set Play volume:
Macro
Code:
Copy      Help
Play 1 "Q:\mp3\Ataraxia\09 - Fengari.mp3" 1

#compile MP_Dialog
MediaPlayer.MediaPlayer me99._getcontrol(id(99 __hwndmp))
me99.Volume=-300 ;;0 max, -602 default (middle)

;mute
;10
;me99.Mute=TRUE
;2
;me99.Mute=0

Always sets only for QM.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)