Jump to content

Detecting a keystroke


BALA
 Share

Recommended Posts

Can AutoIt detect what key is being pressed? For example, you press the "A" and it says that you pressed "A". I am wondering on account that I don't want to set a Hot Key for every key on my keyboard.

[font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com
Link to comment
Share on other sites

Can AutoIt detect what key is being pressed? For example, you press the "A" and it says that you pressed "A". I am wondering on account that I don't want to set a Hot Key for every key on my keyboard.

_Ispressed

Search for it.

Link to comment
Share on other sites

Will it return what is pressed? Since it looks like you have specify what key you want it to check for. (That's probably worse than the Hot Key)

[font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com
Link to comment
Share on other sites

No, it does not return what key is pressed, but it is meant to be able to check for several keys in a loop, something that you can't do it in HotKeySet.

and if you search for more related topics, you will find that there are ways to condense checking nearly every key into very few lines (Using For...Next loops)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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