iverson_est Posted March 31, 2006 Posted March 31, 2006 look here is my script HotKeySet("{ESC}", "Terminate") While 1 If WinExists("NETI - Eesti Interneti Kataloog ja Otsingusüsteem - Mozilla Firefox") Then WinClose("NETI - Eesti Interneti Kataloog ja Otsingusüsteem - Mozilla Firefox") MsgBox(16, "Halt!", "No internet for you!") EndIf WEnd and it gives me an error on hotkeyset line what have i done wrong?
Valuater Posted March 31, 2006 Posted March 31, 2006 You did not create a "Terminate" function HotKeySet("{ESC}", "Terminate") While 1 If WinExists("NETI - Eesti Interneti Kataloog ja Otsingusüsteem - Mozilla Firefox") Then WinClose("NETI - Eesti Interneti Kataloog ja Otsingusüsteem - Mozilla Firefox") MsgBox(16, "Halt!", "No internet for you!") EndIf WEnd Func Terminate() Exit EndFunc 8)
Moderators big_daddy Posted March 31, 2006 Moderators Posted March 31, 2006 (edited) If this is your complete script you have no function named TerminateEdit: got beat twice Edited March 31, 2006 by big_daddy
iverson_est Posted March 31, 2006 Author Posted March 31, 2006 OMG it is probably because i've been up for 24h straight, forgot it, geez, thats was noobish, thanks
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