Code: Select all
SetControlDelay, -1
SetWinDelay, -1
SetMouseDelay, -1
SetKeyDelay, -1
SetBatchLines, -1
ListLines Off
Process, Priority,, High
#Persistent
#KeyHistory 0
#NoEnv
SendMode, Input
end::
Hotkey, LButton, Off
Sleep 10
Send {Click}
Sleep 10+
Send, {1}{RButton}
Sleep 20
Hotkey, LButton, On
Return