Paulie Posted August 19, 2006 Share Posted August 19, 2006 How would you go about counting how may times a GUI button is pushed, within like 5 seconds? i can't think straight right now, can anyone help? Link to comment Share on other sites More sharing options...
Xenobiologist Posted August 19, 2006 Share Posted August 19, 2006 Hi, how do you know when to start? Hotkey? Make a func timer with $begin = TimerInit() $dif = TimerDiff($begin) If $dif >= 5000 Then stop. And count $msg = buton $i += 1 So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
Paulie Posted August 19, 2006 Author Share Posted August 19, 2006 Hi,how do you know when to start? Hotkey?Make a func timer with $begin = TimerInit()$dif = TimerDiff($begin)If $dif >= 5000 Then stop.And count $msg = buton$i += 1So long,MegaSee... thats what i get when i try to do 53 things at once thanks Link to comment Share on other sites More sharing options...
rbhkamal Posted August 19, 2006 Share Posted August 19, 2006 See... thats what i get when i try to do 53 things at once thanks Why 53 things .. not 50 or 55? "When the power of love overcomes the love of power, the world will know peace"-Jimi Hendrix Link to comment Share on other sites More sharing options...
Paulie Posted August 19, 2006 Author Share Posted August 19, 2006 (edited) Why 53 things .. not 50 or 55?$Number = Random(0,100,1) Msgbox(0,"Random Number of the Day", "Your Random Number is: "&$Number) Edited August 19, 2006 by Paulie Link to comment Share on other sites More sharing options...
rbhkamal Posted August 19, 2006 Share Posted August 19, 2006 $Number = Random(0,100,1) Msgbox(0,"Random Number of the Day", "Your Random Number is: "&$Number) lol "When the power of love overcomes the love of power, the world will know peace"-Jimi Hendrix Link to comment Share on other sites More sharing options...
dandymcgee Posted August 20, 2006 Share Posted August 20, 2006 wow i ran that random number of the day program, and the first number to pop up was... ONE? LOL this was the funniest thing that has happened to me all month. - Dan [Website] 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