Skip to content

Instantly share code, notes, and snippets.

@thirdy
Created June 21, 2018 07:40
Show Gist options
  • Save thirdy/3980f5e40bf3d76b4b64850f3a7363e7 to your computer and use it in GitHub Desktop.
Save thirdy/3980f5e40bf3d76b4b64850f3a7363e7 to your computer and use it in GitHub Desktop.
; Bind F1 to a single Mouse Click
; This is my first AutoIt script
; Motivation for this script is to ease pressure to my right index finger
; License - GPLv3
#include <AutoItConstants.au3>
HotKeySet("{F1}", "MouseSingleClick")
While 1
Sleep(100)
WEnd
Func MouseSingleClick()
MouseClick($MOUSE_CLICK_LEFT)
EndFunc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment