Jump to content

Monitor Script Help.. Please.


Recommended Posts

Here's an example of a script I'd like to create. Any help would be very, very much appreciated. Also, one of my most important questions is after the draft below:

---Monitor Script 1---

LOOP START

if process exists (constant montior of process.exe)

|

-> execute this command line

then..

Wait 1 hour..

if process does not exist (process.exe)

|

-> execute this command line then loop

|

Else-> Loop

-----------------------

The Else basically means if "process.exe" DOES in fact exist after the hour wait.

Now my other question is basically can I create one "autoitscript.exe" that will monitor both "process.exe" and another "process2.exe" at the same time, but having different steps for each process? Or will I just have to create two differet autoit scripts? The only steps that will be different for pocess2.exe are the "Execute this command line" for the most part..

Thanks in advanced.

Edited by ryohazuki
Link to comment
Share on other sites

Sorry its not there are sites for that around the net, we don't do that here.

Start with the helpfile and the learning examples JohnOne has told you what to look for

have fun.

Link to comment
Share on other sites

  • Moderators

Hi, ryohazuki. If you're feeling generous, the link below will allow you to donate to the AutoIT community as a whole.

http://www.autoitscript.com/site/donate/

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...