Jump to content

N0000b ask for help.


undead
 Share

Recommended Posts

I want to make autorestart programm that must do this:

You put that programm in destination process[destination.exe] folder and when u start that autorestart programm it doing something like that:

{1}

First it check if destination.exe process is running if yes it wait until that process dissapear then restart it again. It must restart that process only one only one procces must be running.

If destination.exe is not running then it autorestart it.

Optional very important too me:

{2}

if it possible that programm can read some values from some one config file ?

There what i want to have if it possible:

so u start programm it checks for destination.exe in process if it is here he wait xxx minutes after that xxx minutes he do something like that:

1- he pop up destination.exe

2- he send Q - key to destination.exe [ like you will maxymalize destination.exe and press q key on keyboards ]

3 - after that programm back to loop so he wait until programm shut down and he restart it normally and then after xxx minutes he press Q again ...

that config file keeps only that xxx minutes value .. nothing more.

If someone can help me or give me some links to learn me will be great i really dont know where to even search here.

Cheers

Link to comment
Share on other sites

I want to make autorestart programm that must do this:

You put that programm in destination process[destination.exe] folder and when u start that autorestart programm it doing something like that:

{1}

First it check if destination.exe process is running if yes it wait until that process dissapear then restart it again. It must restart that process only one only one procces must be running.

If destination.exe is not running then it autorestart it.

Optional very important too me:

{2}

if it possible that programm can read some values from some one config file ?

There what i want to have if it possible:

so u start programm it checks for destination.exe in process if it is here he wait xxx minutes after that xxx minutes he do something like that:

1- he pop up destination.exe

2- he send Q - key to destination.exe [ like you will maxymalize destination.exe and press q key on keyboards ]

3 - after that programm back to loop so he wait until programm shut down and he restart it normally and then after xxx minutes he press Q again ...

that config file keeps only that xxx minutes value .. nothing more.

If someone can help me or give me some links to learn me will be great i really dont know where to even search here.

Cheers

Read the help file and search the forums.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

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...