daniel5d Posted February 25, 2008 Posted February 25, 2008 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 ?
jokke Posted February 25, 2008 Posted February 25, 2008 (edited) while 1 for $x = 0 to 255 if _ispressed($x) then consolewrite($x&@crlf) endif next wend Edited February 25, 2008 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.
daniel5d Posted February 29, 2008 Author Posted February 29, 2008 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 '}' !!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now