Sign in to follow this  
Followers 0
daniel5d

detect keyboard keys pushing ...

3 posts in this topic

Hi everybody

i've a problem with the keyboard keys detection: hotkeyset() doesn't work with # , { , } , ! , ^ , + ... that's a problem cause i need this chars !... and the last list for _ispressed() doesn't contain these keys.

does someone know how capture these keys ?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

while 1
for $x = 0 to 255
 if _ispressed($x) then
  consolewrite($x&@crlf)
 endif
next
wend

Edited by jokke

UDF:Crypter a file encrypt / decrypt tool with no need to remember a password again. Based on Caesar cipher using entire ASCII Table.Script's: PixelSearch Helper, quick and simple way to create a PixelSeach.Chatserver - simplified, not so complicated multi-socket server.AutoIT - Firewall, simple example on howto create a firewall with AutoIt.

Share this post


Link to post
Share on other sites

THIS code works for many keys, but not for the keys i wanna capture :

while 1
          for $i = 0 to 255
                    if _ispressed( hex( $i ))then consolewrite( hex( $i )& @crlf )
          next
wend

but it doesn't work for '#' , '!' , '^' , '+' , '{' and '}' !!

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  
Followers 0