Jump to content

Recommended Posts

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 by Jos
added codebox... please use <> next time.
Link to post
Share on other sites
  • Developers

There is no way this script does anything for you, other than exiting right away, so what about posting the real script? ;) 

 

Edited 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 post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...