Sign in to follow this  
Followers 0
L3G3NdKillEr

sendkey

2 posts in this topic

#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=----=========================>

Share this post


Link to post
Share on other sites



You're using the wrong boolean operator. "And" is used as the and operator. The ampersand (&) is used for string concatenation.

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