AHK在Win7下不能调音量

来源:互联网 发布:苏拉病毒源码 编辑:程序博客网 时间:2024/05/04 06:07

音量方面,帮助里面有解决方法

On Windows Vista or later, SoundSet and SoundGet affect only the script itself (this may be resolved in a future version). There are at least two ways to work around this:

 

1) In the properties dialog for the file "AutoHotkey.exe" (or a compiled script), change the compatibility setting to "Windows XP".

 

2) Have the script send volume-control keystrokes to change the master volume for the entire system. For example:

 

Send {Volume_Up}  ; Raise the master volume by 1 interval (typically 5%).

Send {Volume_Down 3}  ; Lower the master volume by 3 intervals.

Send {Volume_Mute}  ; Mute/unmute the master volume.

原创粉丝点击