Created
October 5, 2024 23:18
-
-
Save coilysiren/85bc256b43b899ec8adf0586e4409f8f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hotkey script 1: | |
``` | |
#Requires AutoHotkey v2.0 | |
#SingleInstance | |
!e:: { | |
static toggle := false | |
toggle := !toggle | |
func() => Send("e") | |
if (toggle) { | |
SetTimer(func, 100) | |
} else { | |
SetTimer(func, 0) | |
} | |
} | |
``` | |
Hotkey script 2: | |
``` | |
#Requires AutoHotkey v2.0 | |
#SingleInstance | |
!LButton:: { | |
static toggle := false | |
toggle := !toggle | |
if (toggle) { | |
Click "Up" | |
} else { | |
Click "Down" | |
} | |
} | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment