Skip to content

Instantly share code, notes, and snippets.

@mandy-h
Created October 1, 2023 01:25
Show Gist options
  • Select an option

  • Save mandy-h/77816967292eca3ffed13ff242bac1eb to your computer and use it in GitHub Desktop.

Select an option

Save mandy-h/77816967292eca3ffed13ff242bac1eb to your computer and use it in GitHub Desktop.
AHK Script to Move Cursor and Click
Toggle := false
F1::
Toggle := !Toggle
if Toggle {
j::
MouseMove,-100,0,0,R ;Moves the mouse cursor left
return
l::
MouseMove,100,0,0,R ;Moves the mouse cursor right
return
i::
Click ;Clicks the left mouse button
return
}
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment