Corey7270 Posted September 29, 2005 Posted September 29, 2005 (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 September 29, 2005 by Corey7270
drak Posted September 29, 2005 Posted September 29, 2005 you have 2 Func called MyExit() get rid of 1 of them eg: these lines of code Func MyExit() Exit EndFunc
Corey7270 Posted September 30, 2005 Author Posted September 30, 2005 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.
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