Toggle on/off with a key
hold mouse2 for 5 seconds
wait 1 minute
repeat
i dont know how to write a script
Press Ctrl+Alt+M to toggle :
[code]
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
^!m::
SetTimer, MiddleClick, % (Toggle:=!Toggle) ? 60000 : "Off"
Click, Middle
return
MiddleClick:
Click, Middle
return
[/code]
Sorry, you need to Log In to post a reply to this thread.