【发布时间】:2022-08-07 17:36:36
【问题描述】:
嗨,我需要了解如何在一秒钟内按下按钮,例如 b 1000 次或更多 有人可以帮我吗谢谢。
-
即使您找到了一种方法来做到这一点,必须对其做出响应的软件也不太可能应对。
标签: autohotkey
嗨,我需要了解如何在一秒钟内按下按钮,例如 b 1000 次或更多 有人可以帮我吗谢谢。
标签: autohotkey
F1::
WheelDown::Send {b}
Sleep, 1000
Return
当您按下 F1 键时,它将按下“b”键 1 秒钟。
【讨论】:
这将使您的脚本尽可能快地发送密钥;谨慎使用。按住 F1 发送垃圾邮件。
SetBatchLines, -1
#KeyHistory 0
ListLines, Off
SetKeyDelay, -1
; Windows Explorer ignores SendInput's simulation of certain navigational hotkeys such as Alt + ←
SendMode Input
F1::
while GetKeyState("F1", "P")
{
Send, A
}
return
【讨论】: