Skip to content

Instantly share code, notes, and snippets.

@LenweSaralonde
Created July 10, 2024 17:17
Show Gist options
  • Save LenweSaralonde/256e1744966c4c4d6880c3ea3911d439 to your computer and use it in GitHub Desktop.
Save LenweSaralonde/256e1744966c4c4d6880c3ea3911d439 to your computer and use it in GitHub Desktop.
Toggle both mouse buttons using the PAUSE keyboard key. Requires AutoHotKey v1
pause::Send % ( GetKeyState("LButton") ? "{lbutton up}{rbutton up}" : "{lbutton down}{rbutton down}" )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment