Jump to content

Press a key


Azu
 Share

Recommended Posts

You know how in some applications there is an option to bind a key, and it says to press the key you wanna use, and it knows which one you pressed? How do I do this in autoit? Would I have to make if conditions for every single key on the keyboard (which would be retarded), or is there a way for it to tell which key is pressed?

Link to comment
Share on other sites

Thanks.

It seems to work with every key on my keyboard.

One problem though, it gets them mixed up :s

With the a-z and 0-9 keys it gets them all perfect, but with ctrl, alt, shift, caps lock, tab, tilde, backspace, and all the G keys on the G15, it displays some kind of ASCII symbol which isn't on my keyboard.. (like the kind you can make with alt+numpad keys)

Why is this happening? It probably isn't really a problem, since it detects it persistently, but it's piqued my curiosity. O_o

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...