我需要添加什么才能使这个程序工作?

What do i need to add to make this program work?

当按下 m 时,鼠标应该连续点击,当按下 e 时,它​​应该退出程序,所以 m 不再点击。我做错了什么?

HotKeySet ("e" [,"Exit"])
HotKeySet ("m" [,"Click"])

Func Click()
MouseClick("left")
EndFunc

Func _Exit()
Exit 0
EndFunc

试试这个:

HotKeySet("e", "_Exit")
HotKeySet("m", "_Click")

While 1
    Sleep(250)
WEnd

Func _Click()
    While 1
        MouseClick("left")
        Sleep(100)
    WEnd
EndFunc   ;==>_Click

Func _Exit()
    Exit 0
EndFunc   ;==>_Exit