Sign in to follow this  
Followers 0
ZimounZ

_IsPressed Help

2 posts in this topic

#1 ·  Posted

I don't know what went wrong but when I try to test it....it says

I looked at the help...I still didn't know what went wrong

error: _IsPressed() : undefined function.

Func Start()
    While 1
        If _IsPressed("66") = 1 Then
            ExitLoop
        EndIf
        send("{s}")
        sleep(800)
        send("{s}")
        sleep(800)
        send("{s}")
        sleep(800)
        send("{s}")
        sleep(800)
        sleep(2000)
    WEnd
    EndFunc

 

Share this post


Link to post
Share on other sites



#2 ·  Posted

You need to include misc.au3, as it says on the website info about _is pressed. 

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