From f3e62e93568da5493e472f6f9ff44c49df7e6d5d Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Tue, 10 Dec 2019 12:46:12 -0800 Subject: [PATCH] Add some more AHK. --- AHK/tabclick.ahk | 8 ++++++++ AHK/turboclick.ahk | 15 +++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 AHK/tabclick.ahk diff --git a/AHK/tabclick.ahk b/AHK/tabclick.ahk new file mode 100644 index 0000000..8cc4363 --- /dev/null +++ b/AHK/tabclick.ahk @@ -0,0 +1,8 @@ +#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. +SendMode Input ; Recommended for new scripts due to its superior speed and reliability. +SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. + +Tab:: +{ + Send {LButton} +} diff --git a/AHK/turboclick.ahk b/AHK/turboclick.ahk index 33ea06d..cff8ffc 100644 --- a/AHK/turboclick.ahk +++ b/AHK/turboclick.ahk @@ -15,4 +15,19 @@ If rapid_switch = 1 Send {LButton} sleep 20 } +} + +~*RButton:: +If rapid_switch = 1 +{ + Loop + { + GetKeyState, var, RButton, P + If var = U + { + Break + } + Send {RButton} + sleep 20 + } } \ No newline at end of file