Jump to content



Photo

GUI updates based on RunWait status guidance


  • Please log in to reply
1 reply to this topic

#1 apex52

apex52

    Seeker

  • New Members
  • 4 posts

Posted 19 December 2011 - 05:38 PM

Hello all, I am hoping someone could point me in the right direction with a simple hello world type script. What I would like to do is have a GUI which does the following:

GUI opens and states that a process is running based off of RunWait.
GUI updates stating that process is complete when RunWait reports process is no longer running.
GUI continues and watches a new process start and close and updates that status message.

I would like to do this without the GUI closing.

Running app1... Complete
Running apps2...Complete





#2 Mikeman27294

Mikeman27294

    Insert Member Title Here

  • Active Members
  • PipPipPipPipPipPip
  • 469 posts

Posted 19 December 2011 - 07:40 PM

Have you started on the script? If so, please supply us with your code so we can give you some pointers.

As for the GUI closing, I would assume it is because it has run out of script to execute. Place this at the end of your code and hopefully it will do the job for you.

While 1     If GuiGetMsg() = -3 Then;If the exit button is clicked         Exit     EndIf WEnd

Spoiler





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users