Jump to content

detect keyboard keys pushing ...


daniel5d
 Share

Recommended Posts

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 ?

Link to comment
Share on other sites

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.
Link to comment
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 '}' !!

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