Hello, thank you again for taking your time to help me. Same to evilC.Helgef wrote:Also, tryin the unlikely event that you are releasing the key on the if x = 0 line (and I guess your computer lags a little) then the up hotkey could interrupt the down hotkey, so the timer is turned on again when the up hotkey finishes . I couldn't reproduce your problems, although, I didn't make much of an effort .
Code: Select all
FKey: critical if x=0
Edit: Btw, why are you setting all those, mostly useless, settings at the top of the script, I see this often, where does it come from?
Will try with adding critical to my label like you explained.
Will reply in 30 minutes or 1 hour of testing all alternatives.
About the code:
Code: Select all
#NoEnv ;I don't need to use env variables #MaxHotkeysPerInterval 99000000 ;link below this code #HotkeyInterval 99000000 ;link below this code #KeyHistory 0 ;I don't need the keyhistory #InstallKeybdHook ;I tried installing the keyboard hook to see if it fixed the problem SetStoreCapslockMode, Off ;I need to ignore the capslock ListLines Off ;I don't need the listlines Process, Priority, , A ;link below this code SetBatchLines, -1 ;Because i need it to run as fast as possible SetKeyDelay, -1, -1 ;because sometimes i like to write send instead of sendinput SetDefaultMouseSpeed, 0 ;because i need it to be as fast as possible SetMouseDelay, -1 ;because i need it to be as fast as possible SetWinDelay, -1 ;because i need it to be as fast as possible SetControlDelay, -1 ;because i need it to be as fast as possible
It's the same settings i use on most of my scripts, it's easier to copy paste this instead of checking what i need.