Code: Select all
#NoEnv
#Singleinstance force
#MaxHotkeysPerInterval 99000000
#HotkeyInterval 99000000
Process, Priority, , H
SetBatchLines, -1
ListLines Off
#KeyHistory 0
SendMode Input
SetTitleMatchMode 2
SetTitleMatchMode Fast
SetKeyDelay, -1, -1, -1
SetMouseDelay, -1
SetWinDelay, -1
SetControlDelay, -1
SetDefaultMouseSpeed, 0
v::
SendInput {Blind}{Down down}{d down}
CustomSleep(145)
SendInput {Blind}{d up}{Down up}
Return
CustomSleep(duration) {
end := A_TickCount + duration
while (A_TickCount < end) {
DllCall("Sleep", "UInt", 1)
}
}
I modified the script by finding various information on the Internet, but when I added customsleep , it seemed to me that there was an improvement in accuracy, but it is still not perfect, although it is already close, can I add or change something to bring it to perfect accuracy?
[Mod edit: Added [code][/code] tags. Please use them yourself when posting code!]