JohnMclain Posted December 27, 2022 Share Posted December 27, 2022 (edited) I'm trying to see which program can beat the score on this website for "CPS tests" https://cps-check.com/keyboard-cps So this is what i've tried: Dim $sleep = 0 HotKeySet("{7}", "_Sleep") HotKeySet("{6}", "Go") While $sleep = 1 If $sleep = 0 Then ExitLoop Sleep (100) WEnd Func _Sleep() If $sleep = 0 Then $sleep = 1 Else $sleep = 0 EndIf EndFunc Func Go() While 1 Send("{e}") WEnd EndFunc The script works fine when i start it but the pause function doesn't work Edited December 27, 2022 by Jos added codebox... please use <> next time. Link to comment Share on other sites More sharing options...
Developers Jos Posted December 27, 2022 Developers Share Posted December 27, 2022 (edited) There is no way this script does anything for you, other than exiting right away, so what about posting the real script? Edited December 27, 2022 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
argumentum Posted December 27, 2022 Share Posted December 27, 2022 1 hour ago, JohnMclain said: ... beat the score on this website ... lol, now that is silly Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now