in windows vista, you can click the speaker icon in the system notification area, then mouse wheel can be used to control volume.
is it possible to use ahk to set a key, say F6, so that after pressing F6, one can use mouse wheel to control volume?
Thanks.
Xah
change sound volume by mouse wheel
Started by
xah
, Jan 19 2010 04:52 PM
3 replies to this topic
#1
-
Posted 19 January 2010 - 04:52 PM
F6::State:=!State ;the ! means Logical Not in expressions $WheelUp:: If State Send {Volume_Up} Else Send {WheelUp} Return $WheelDown:: If State Send {Volume_Down} Else Send {WheelDown} ReturnF6 is a toggle press once for volume press again for scroll
#3
-
Posted 19 January 2010 - 06:25 PM
Thanks.
seems using AHK's default way to control volume has the same flaw as the volume buttons on the keyboard... it is not instaneous.
The Windows Vista way with mouse wheel seems instaneous as one'd control the stereo volume wheel.
Here's what i found to activate the volume control using mose:
; F1 to activate volume chane, so mouse wheel will work.
F1::
Send #b{Left}{Left}{Enter}
Return
seems using AHK's default way to control volume has the same flaw as the volume buttons on the keyboard... it is not instaneous.
The Windows Vista way with mouse wheel seems instaneous as one'd control the stereo volume wheel.
Here's what i found to activate the volume control using mose:
; F1 to activate volume chane, so mouse wheel will work.
F1::
Send #b{Left}{Left}{Enter}
Return
#4
-
Posted 22 January 2010 - 01:32 PM