Jump to content

Recommended Posts

Posted (edited)

I have worked on this script to be able to press a key to stop it but cant get it working.

It says duplicate function name i have no idea what im doing.

-------

HotKeySet("^!x", "MyExit")

...

...

Func MyExit()

Exit

EndFunc

While 1

$msg = GUIGetMsg(2)

MouseClick("left")

MouseClick("left")

WEnd

...

...

Func MyExit()

Exit

EndFunc

This is the script im trying to get to work can any one tell me how to make it work? or tell me a Tutorial i could look at becuase i dont understand most of this?

Edited by Corey7270
Posted

Thanks!

This is the script now

----------

HotKeySet("^!x", "MyExit")

While 1

$msg = GUIGetMsg(2)

MouseClick("left")

MouseClick("left")

WEnd

Func MyExit()

Exit

EndFunc

Still dosent seem to work though but getting better!

No wait never mind I got it working i forgot to take out the ...'S

Thanks! for helping me fix my script.

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...