joker17 Posted October 18, 2007 Share Posted October 18, 2007 i made a code like this: $coord = PixelSearch (etc If Not @error (for tot seconds ) Then func if @error Then func2 endif wend does something like this exist? Link to comment Share on other sites More sharing options...
Xenobiologist Posted October 18, 2007 Share Posted October 18, 2007 Hi, you can build your own loop around this. 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...
joker17 Posted October 18, 2007 Author Share Posted October 18, 2007 what? plz put code not words Link to comment Share on other sites More sharing options...
Blue_Drache Posted October 18, 2007 Share Posted October 18, 2007 (edited) What? plz put english, not encoded words. Look, I realize you're not an English speaker, natively, but you're demanding that we write code for you. No. Not going to happen. If you build a man a fire, he's warm for a day... but if you set a man on fire, he's warm for the rest of his life! Edited October 18, 2007 by Blue_Drache Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
joker17 Posted October 18, 2007 Author Share Posted October 18, 2007 umh i cant explain it easier: if something appen then _func if something not appen 4 tot sec then _func2 Link to comment Share on other sites More sharing options...
PsaltyDS Posted October 18, 2007 Share Posted October 18, 2007 what?plz put code not wordsWell, this forum is more about helping you code it yourself.1. Initialize a timer variable with TimerInit()2. Setup a Do/Until loop where the 'Until' condition is TimerDiff() > x 3. Inside the loop, you want something to do ExitLoop if you get your @error or whatever else before the timeoutHope that helps. Code it up, and if it doesn't work, post your code for more help. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
joker17 Posted October 18, 2007 Author Share Posted October 18, 2007 thx i'll try 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