diff --git a/Clipjump.ahk b/Clipjump.ahk index e38c14d..961697c 100644 --- a/Clipjump.ahk +++ b/Clipjump.ahk @@ -405,8 +405,8 @@ onClipboardChange: if !startUpComplete ;if not started, not allow - after onclipboard=1 as the purpose of onc is served return ; check for machine-done clipboard manipulations - timeDiff := A_TickCount - lastClipboardTime - lastClipboardTime := A_TickCount + timeDiff := TickCount64() - lastClipboardTime + lastClipboardTime := TickCount64() if (timeDiff < 200){ return } diff --git a/lib/anticj_func_labels.ahk b/lib/anticj_func_labels.ahk index c638247..995ee36 100644 --- a/lib/anticj_func_labels.ahk +++ b/lib/anticj_func_labels.ahk @@ -664,6 +664,13 @@ fillwithSpaces(text="", limit=35){ return text r } +/** + * TickCount in 64 bit precision + */ +TickCount64(){ + return DllCall("GetTickCount64", "Cdecl UInt64") +} + /* SuperInstr() Returns min/max position for a | separated values of Needle(s)