Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #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.
- LButton:: If ( A_TimeSincePriorHotkey < 50 )
- SendInput, {Lbutton Down}
- return
- Lbutton Up::SendInput, {Lbutton Up}
- MButton:: If ( A_TimeSincePriorHotkey < 50 )
- SendInput, {MButton Down}
- return
- Mbutton Up::SendInput, {MButton Up}
- RButton:: If ( A_TimeSincePriorHotkey < 50 )
- Sendinput, {Rbutton Down}
- return
- Rbutton Up::SendInput, {Rbutton Up}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement