L3G3NdKillEr Posted August 7, 2008 Posted August 7, 2008 #include <Misc.au3> HotKeySet("q", "Artic") While 1 Sleep(100) WEnd Func Artic() if _ispressed("57") & _ispressed("45") & _ispressed("52") & _ispressed("54") Then Send("{esc}") EndIf EndFunc I want If 5 keys pressed then Esc key send--** i'm very responsible, when ever something goes wrong they always say I'm responsible.Life is like an Adventure... BUT COOL GRAPHICS<====================----=LEGEND KILLER=----=========================>
Richard Robertson Posted August 7, 2008 Posted August 7, 2008 You're using the wrong boolean operator. "And" is used as the and operator. The ampersand (&) is used for string concatenation.
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