Authenticity Posted January 30, 2009 Posted January 30, 2009 (edited) Interesting... Try this one HotKeySet('{ESC}', 'terminate') While 1 Sleep(50) Wend Func terminate() ConsoleWrite(@ScriptLineNumber & @CRLF) Exit ConsoleWrite(@ScriptLineNumber & @CRLF) EndFunc I suspect that it's the 'exit 0' in your script... typo.. Edited January 30, 2009 by Authenticity
woodyfly Posted January 31, 2009 Author Posted January 31, 2009 Interesting... Try this one HotKeySet('{ESC}', 'terminate') While 1 Sleep(50) Wend Func terminate() ConsoleWrite(@ScriptLineNumber & @CRLF) Exit ConsoleWrite(@ScriptLineNumber & @CRLF) EndFunc I suspect that it's the 'exit 0' in your script... typo.. Hmm didnt work either
nfaustin Posted January 31, 2009 Posted January 31, 2009 HotKeySet('{ESC}', 'terminate') While 1 Sleep(50) Wend Func terminate() ConsoleWrite(@ScriptLineNumber & @CRLF) Exit ConsoleWrite(@ScriptLineNumber & @CRLF) EndFunc This is working. Have you try the given example only?(not your code) [font="Palatino Linotype"][size="2"]*** The information contained in this post should be considered and certified WORKS ON MY MACHINE ***[/size][/font][font="Palatino Linotype"][size="2"] [/size][/font]
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