Jump to content

How to get it to not register a single keypress 2-4 times


Recommended Posts

Well Yeah im trying to get http://www.autoitscript.com/forum/index.ph...mp;hl=mousehook to not register everything 2-4 times any clue?

something like this ( i used _ispressd here)

$e = 0
while 1
    for $x = 1 to 255
        if _IsPressed(hex($x,2)) = 1 Then
            while _IsPressed(hex($x,2)) = 1
                if $e = 0 then
                    ;Script stuff
                    $e = 1
                EndIf
            WEnd
            $e = 0
        EndIf
    Next
WEnd

this is from an old "keloger" i made :shocked:

[font="Impact"]Never fear, I is here.[/font]

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...