zemen Posted October 1, 2007 Posted October 1, 2007 ok so, if I run the script more than 3 times (run, stop , run... ecc) my pc becomes slower... and the script (a game bot) misses some keysend and some click. The only way is to restart the pc and the script will work well again. my script is not so complicated: some functions, a GUI with some inputs and checkbox, an adlib with 500ms delay... I think I should deallocate something from memory before quitting so I write this code to esc the script: Func Terminate() AdlibDisable() GUIDelete() Exit 0 EndFunc seems to go better... I can run and stop one more time before restarting any hint?
zemen Posted October 1, 2007 Author Posted October 1, 2007 (edited) that was before I changed it... like this Func Terminate() Exit EndFunc was the same, nothing changed Edited October 1, 2007 by zemen
aslani Posted October 1, 2007 Posted October 1, 2007 Posting your whole script will help, since I believe that the problem is not about terminating the script rather in the usage of your variables. [font="Georgia"]Chances are, I'm wrong.[/font]HotKey trouble?Stringregexp GuideAutoIT Current Version
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