Jump to content

Recommended Posts

Posted

Here is my script:

"

sleep ( 5000 )

while 1

mouseclick ( "left" , 880, 610 , 1 , 10 )

sleep ( 1000 )

mouseclick ( "left" , 739, 580 , 1 , 10 )

mouseclick ( "left" , 800, 580 , 1 , 10 )

mouseclick ( "left" , 871, 713 , 1 , 10 )

sleep ( 8000 )

mouseclick ( "left" , 100, 80 , 1 , 10 )

WEnd

"

All I need now is how to finish it...It goes on and on and I can't quit the program nor do I know how, so how do I trigger the key F4 to stop my script?

Posted

Hi

This will do it for you

HotKeySet("{f4},", "GetOut")

sleep ( 5000 )

while 1

mouseclick ( "left" , 880, 610 , 1 , 10 )

sleep ( 1000 )

mouseclick ( "left" , 739, 580 , 1 , 10 )

mouseclick ( "left" , 800, 580 , 1 , 10 )

mouseclick ( "left" , 871, 713 , 1 , 10 )

sleep ( 8000 )

mouseclick ( "left" , 100, 80 , 1 , 10 )

WEnd

Func GetOut()

Exit

EndFunc

REB

MEASURE TWICE - CUT ONCE

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...