Jump to content
Sign in to follow this  

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
            $e = 0

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

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

Share this post

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
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.