Skip to content

Instantly share code, notes, and snippets.

@bender-the-greatest
Created January 5, 2017 04:07
Show Gist options
  • Save bender-the-greatest/e02cf1b75a10518ea64f05f2ba60ce81 to your computer and use it in GitHub Desktop.
Save bender-the-greatest/e02cf1b75a10518ea64f05f2ba60ce81 to your computer and use it in GitHub Desktop.
AutoHotKey script for mouse button emulation
#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.
; Right clicks
^LButton::RButton
; Middle clicks
^+LButton::MButton
^!LButton::MButton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment