Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Newbie: Volume Control
#5
I don't know a better way than clicking the Volume icon in the system notification area (tray). This function does that.

Function ShowVolumeControl
Code:
Copy      Help
function [nSeconds]

;EXAMPLES
;ShowVolumeControl 5 ;;sync
;mac "ShowVolumeControl" "" 5 ;;async



if(!nSeconds) nSeconds=5
Acc a=acc("Volume" "PUSHBUTTON" "+Shell_TrayWnd" "ToolbarWindow32" "" 0x1001)
POINT p; xm p
a.Mouse(1)
int h=wait(10 WV win("Volume Control" "Tray Volume"))
mou p.x p.y 0
wait nSeconds
clo h


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)