Skip to main content

Hello,

I have a script to launch the  ACCUTERM GUI application from a shortcut in desktop but when the user closes the GUI application the ACCUTERM session is still active letting the user to play around, so the user has to close again the ACCUTERM session.  We need a script to launch the GUI application and when closing it also close ACCUTERM session so the user gets back to desktop screen.

 

I tried  the  following script but it is not working:

.Output "RUN GUIBP GUIAPPLICATION" & ChrW$(13)
.WaitFor 0, 8, "o:"

.Output "QUIT" & ChrW$(13)

I will appreciate any advice. Thanks.