【发布时间】:2021-06-17 16:29:56
【问题描述】:
我一直在研究一种用鼠标控制音乐/媒体的方法,到目前为止我可以做到所有这些:
中键和右键播放下一首歌曲
Mbutton & RButton::Send {Media_Next}
中左键播放上一曲
Mbutton & LButton::Send {Media_Prev}
中按并向上滚动 增加声音(不会停止在其他地方使用中键)
中键按下并向下滚动 降低声音(不会停止在其他地方使用中键)
#IfWinActive
Mbutton up::
`if a_priorhotkey not in wheelup,wheeldown`
`send {Mbutton}`
return
#if getkeystate("Mbutton", "p")
Wheelup::Send {Volume_Up}
Wheeldown::Send {Volume_Down}
但现在我需要同时按下 ALL 3 (Lbutton + Mbutton + Rbutton), 发送 {Media_Play_Pause} 而且它不适用于 Lbutton & Mbutton & Rbutton...
有什么想法吗?感谢阅读。
【问题讨论】:
标签: mouse autohotkey media-player