Code: Select all
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
l::Click % GetKeyState("LButton") ? "Up" : "Down"
In v2 this no longer works although I saw GetKeyState.
Would it be possible to have that for both mouse buttons in one script executable, with different keys, of course?
This script was amazing for accessibility so any help would very appreciated