mpcluever Posted September 6, 2009 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.
Zedna Posted September 6, 2009 Posted September 6, 2009 Look at _Timer_SetTimer() it's in #Include <Timers.au3> Resources UDF ResourcesEx UDF AutoIt Forum Search
mpcluever Posted September 6, 2009 Author 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.
Mison Posted September 7, 2009 Posted September 7, 2009 use this: While 1 ;- If event == condition Then desired func WEnd Func desired() ; EndFunc Hi ;)
rvn Posted September 7, 2009 Posted September 7, 2009 read the help file or give more clue please... so we can help u
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