• Keep program running

    Author
    Topic
    #351752

    Problem: To dedicate a computer to a specialized checkin program for a daycare. They want the checkin program to run when computer starts (no problem). But the checkin screen (purchased custom software) has an EXIT button on it. I need to automate the program being RESTARTED if it is exited, because you know every third person will exit!

    Thanks
    Nora

    Viewing 1 reply thread
    Author
    Replies
    • #510034

      I think you would be better off to have a shortcut for the program right on the desktop to restart the program if someone should make a mistake and exit it. Just let everyone know the shortcut is there and how to use it.

      • #510064

        I agree, but this system will be used by parents and grandparents checking out kids, some of whom will use it infrequently. This will be the first time some of them have touched a mouse. A re-starting program will be more satisfactory. Unless the software company would remove the EXIT button.

        Nora

        • #510069

          there’s no real way for windows to check if a prog is running and restart it. Unless you find a third party app to do it, but i’ve never seen it. Your best bet, as mentioned, is to put a icon on the desktop..

          • #510105

            wonder if you could do something from task scheduler to run it if not running – you can close if running.

            if the program is designed to only have one copy loaded, you could start it every xx minutes from TS. if it’s not open, it would load, if open, it would ignore the request.

            WSH scripting might be able to check for it and run it if not running. the script can run from TS.

    • #510701

      You could use a batch file to start the program, and if it exits loop back and start it again. Something like the following untested batch:

      @ECHO OFF
      :LOOP
      START /WAIT programname.EXE
      GOTO LOOP

    Viewing 1 reply thread
    Reply To: Keep program running

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: