autohotkey - 用于滚动的自动热键脚本
问题描述
所以我对自动热键不太熟悉,但我希望有人帮我编写一个脚本,该脚本每秒向上滚动鼠标滚轮,并通过按住特定键触发。
提前致谢!
解决方案
F1::
while GetKeyState("F1", "P") ; while holding down F1
{
SendInput, {WheelDown} ; send this command to the active window
Sleep, 1000 ; every second (1000 ms)
}
return
推荐阅读
- python - Kivy - 如果满足条件,如何更改每个文本输入的颜色
- c# - ASP.NET Core MVC/WebAPI 身份验证方案加匿名
- gerrit - 如何使用新补丁集在 Gerrit 中保留批准
- c++ - 使用 boost 套接字禁用 TIME_WAIT
- python - 如何找到 DBSCAN 的最佳参数?
- python-3.x - 尝试使用 tkinter gui 停止 Python 语音识别循环
- javascript - 范围问题 - 在回调中更改数据正在更改更高范围
- java - 我可以使用Android studio进行纯JAVA开发吗
- date - cron 作业在日期时间格式上失败
- swift - 如何在 SwiftUI 中选择性地传入绑定?