Sign in to follow this  
Followers 0
BALA

Detecting a keystroke

6 posts in this topic

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

Share this post


Link to post
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.

Share this post


Link to post
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

Share this post


Link to post
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)

Share this post


Link to post
Share on other sites

Search the forum for keyboard hooks.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0