Code: Select all
#SingleInstance, Force
#MaxHotkeysPerInterval, 280
#MaxThreadsPerHotkey, 20
#MaxThreads, 20
SetKeyDelay, -1
SetBatchLines, -1
SetMouseDelay, -1
switchspeed := 3500
$^K::
Send 3
Sleep 4000
Send 4
DupeToggle := !DupeToggle
if (DupeToggle = 1)
{
SetTimer DupeTimer, %switchspeed%
}
if (DupeToggle = 0)
{
SetTimer DupeTimer, Off
}
Return
DupeTimer:
Send 3
Sleep 500
Send 3
Sleep 3500
Send 4
Sleep 500
Send 4
Sleep 3500
Return
[Mod action: Moved topic from the v1 section because asking to translate to v2 is actually v2-related help.]