mpcluever Posted September 6, 2009 Share Posted September 6, 2009 A long time ago I seem to remember reading about a function that will fire no matter where the script is in execution. For example, halfway through a script, someone IMs me and throws off the script. I'd like to be able to constantly check if a given parameter exists and react to it. Any help would be greatly appreciated. Link to comment Share on other sites More sharing options...
Zedna Posted September 6, 2009 Share Posted September 6, 2009 Look at _Timer_SetTimer() it's in #Include <Timers.au3> Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
mpcluever Posted September 6, 2009 Author Share Posted September 6, 2009 Sorry. What I need doesn't involve a timer. I need something that will continuously be checking for a certain event to happen throughout running the script without stopping and waiting for it to happen. Link to comment Share on other sites More sharing options...
Mison Posted September 7, 2009 Share Posted September 7, 2009 use this: While 1 ;- If event == condition Then desired func WEnd Func desired() ; EndFunc Hi ;) Link to comment Share on other sites More sharing options...
rvn Posted September 7, 2009 Share Posted September 7, 2009 read the help file or give more clue please... so we can help u 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