Add some more AHK.
This commit is contained in:
parent
10227715d7
commit
f3e62e9356
2 changed files with 23 additions and 0 deletions
8
AHK/tabclick.ahk
Normal file
8
AHK/tabclick.ahk
Normal file
|
@ -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}
|
||||||
|
}
|
|
@ -16,3 +16,18 @@ If rapid_switch = 1
|
||||||
sleep 20
|
sleep 20
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
~*RButton::
|
||||||
|
If rapid_switch = 1
|
||||||
|
{
|
||||||
|
Loop
|
||||||
|
{
|
||||||
|
GetKeyState, var, RButton, P
|
||||||
|
If var = U
|
||||||
|
{
|
||||||
|
Break
|
||||||
|
}
|
||||||
|
Send {RButton}
|
||||||
|
sleep 20
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue