How do I stop an active AutoHotkey script?

前端 未结 4 1141
失恋的感觉
失恋的感觉 2021-02-01 16:43

Yesterday while debugging my AutoHotkey script, I accidentally triggered an endless loop of MouseMove and MouseClick events. Every 0.5 seconds my mouse

4条回答
  •  逝去的感伤
    2021-02-01 17:10

    If you want to get fancy and stop it from the Windows command prompt,

    Stop all autohotkey scripts with:

    taskkill /im "autohotkey.exe"
    

    Stop specific script with:

    wmic process where "commandline like '%%MyScript.ahk'" delete
    

提交回复
热议问题