我一直在四处寻找,但没有成功尝试将自己的这一小段代码从 .ahk 转换为罗技游戏软件以用作宏。some1 可以帮忙吗?请帮忙
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
; Nels
NRA := 1
; SS
Insert::Suspend
; NR
*~LButton::
while GetKeyState("LButton") & NRA
{
DllCall("mouse_event", uint, 1, int, -2, int, 2, uint, 1, int, 0)
Sleep, 9.5
DllCall("mouse_event", uint, 1, int, 1.75, int, 1, uint, 0, int, 0)
Sleep, 5
}
return