Advertisement
rayonic

DoubleClickFix.ahk

Feb 22nd, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
  2. ; #Warn  ; Enable warnings to assist with detecting common errors.
  3. SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
  4. ;SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
  5. LButton::
  6. Send {Click down}  ; Hold down the left mouse button.
  7. Sleep, 75
  8. KeyWait LButton  ; Wait for the user to release the left mouse button
  9. Send {Click up}  ; Release the key.
  10. Sleep, 50
  11. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement