kcd-clan Posted February 16, 2006 Share Posted February 16, 2006 Func checktime() ToolTip($time,500,500) EndFunc it stays open and wont go away? what do i do? Visit mEMy programs made.Iul - IulG-V Console - G-V Console_RandomLetter - _RandomLetter()Saftey Kill - Saftey Killcolorzone() = colorzone() Link to comment Share on other sites More sharing options...
GaryFrost Posted February 16, 2006 Share Posted February 16, 2006 Try ToolTip("") SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
kcd-clan Posted February 16, 2006 Author Share Posted February 16, 2006 no... $i=1 $time=0 HotKeySet("{up}","starttimer") HotKeySet("{down}","checktime") HotKeySet("{esc}","stop") Do $time=+1 Until $i=0 Func starttimer() MouseClick("Left",420,333,1,1) MouseClick("Left",419,253,1,1) Do $k=0 pause(1) $time=+1 Until $i=0 EndFunc Func checktime() ToolTip($time) EndFunc Func pause($time) Sleep(1000*$time) EndFunc func stop() $i=0 EndFunc Visit mEMy programs made.Iul - IulG-V Console - G-V Console_RandomLetter - _RandomLetter()Saftey Kill - Saftey Killcolorzone() = colorzone() Link to comment Share on other sites More sharing options...
GaryFrost Posted February 16, 2006 Share Posted February 16, 2006 no... $i=1 $time=0 HotKeySet("{up}","starttimer") HotKeySet("{down}","checktime") HotKeySet("{esc}","stop") Do $time=+1 Until $i=0 Func starttimer() MouseClick("Left",420,333,1,1) MouseClick("Left",419,253,1,1) Do $k=0 pause(1) $time=+1 Until $i=0 EndFunc Func checktime() ToolTip($time) EndFunc Func pause($time) Sleep(1000*$time) EndFunc func stop() $i=0 EndFunc yes.... The text of the tooltip. (An empty string clears a displaying tooltip) SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
kcd-clan Posted February 17, 2006 Author Share Posted February 17, 2006 why dont if update the nummbers? Visit mEMy programs made.Iul - IulG-V Console - G-V Console_RandomLetter - _RandomLetter()Saftey Kill - Saftey Killcolorzone() = colorzone() Link to comment Share on other sites More sharing options...
greenmachine Posted February 17, 2006 Share Posted February 17, 2006 (edited) why dont if update the nummbers?I'm assuming that sentence means: "Why doesn't it update the numbers?"The reason is this:$i=1$time=0HotKeySet("{up}","starttimer")HotKeySet("{down}","checktime")HotKeySet("{esc}","stop")Do$time=+1Until $i=0Func starttimer()MouseClick("Left",420,333,1,1)MouseClick("Left",419,253,1,1)Do$k=0pause(1)$time=+1Until $i=0EndFuncFunc checktime() ToolTip($time)EndFuncFunc pause($time) Sleep(1000*$time)EndFuncfunc stop() $i=0EndFuncYour time line is incorrect. It should be $time += 1. Saying $time=+1 is the same as saying $time = 1 (time = a positive 1). Switch the signs, and you're fine. Edited February 17, 2006 by greenmachine Link to comment Share on other sites More sharing options...
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