.ahk脚本转换为LGS

我一直在寻找方法将这个小的.ahk代码转换为Logitech Gaming Software以用作宏,但一直没有成功。能否有人提供帮助?麻烦你了

#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
点赞