Jump to content
Sign in to follow this  
Fur

OnEvent Model - Timer event?

Recommended Posts

I want to make a script that monitors another script and updates a status window once every second. I would like to make this using the OnEvent model, so instead of a while 1=1 Sleep(1000) loop, the first script would be executing. My question then, can I set up some sort of event that would trigger once a second I can use to update the output of the status window? That way I wouldnt have to modify the original script I'm trying to monitor and I can enable/disable this monitoring tool by just #include "stat.au3" or not. Hope that all makes sense!

Share this post


Link to post
Share on other sites

I want to make a script that monitors another script and updates a status window once every second.  I would like to make this using the OnEvent model, so instead of a while 1=1 Sleep(1000) loop, the first script would be executing.  My question then, can I set up some sort of event that would trigger once a second I can use to update the output of the status window?  That way I wouldnt have to modify the original script I'm trying to monitor and I can enable/disable this monitoring tool by just #include "stat.au3" or not.  Hope that all makes sense!

<{POST_SNAPBACK}>

Look at AdlibEnable :lmao:

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...