I have been trying to figure out a way to relaunch Meditech once the t.exe 
process closes.  I built the function(CheckRunning) that checks to see if the 
process is running but I'm having trouble setting up a rule to always run and 
then open and connect to the Meditech screen again.

This is what I am trying but it does not work:
        If Rule("") Then
            Wait 30
            If Not CheckRunning Then
               Step = "LAUNCH"
            End If
            Exit Sub
        End If

When I save this, it reverts back to:
        If Rule("") Then
            Wait 30
            Step = "LAUNCH"
            Exit Sub
        End If
I think I understand why it reverts back, but I'm not sure what else to try 
yet.  Is there a built in function in Boston Workstation that will help me keep 
the Meditech window open?

Goal:
We have a Meditech ORM Big Board setup.  I have the script setup to launch 
Meditech and sign directly into the Big Board.  The device is currently 
wireless and the connection drops often.  I am working on getting it switched 
over to be hardwired.  Every time it drops, Meditech closes.  So I want the 
script to watch for t.exe to close, ping Meditech until the computer can see it 
again(this part is working), and then launch Meditech and connect to it again.

Thanks,
Drew Glaser
Data Programmer Analyst
CareTech Solutions
Office: (419) 429-7614
[cid:[email protected]]<http://www.caretech.com/>
Helping extraordinary people do extraordinary things

Best in KLAS
Extensive IT Outsourcing
2008, 2009 & 2010
Top 20 Best in KLAS Awards
www.KLASresearch.com<http://www.klasresearch.com/>

[cid:[email protected]]




---  To post a message to this list, send mail to: [email protected]    You are 
currently subscribed as: [email protected]    Unsubscribe in the 
customer center on our website: 
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx   

<<inline: image001.gif>>

<<inline: image002.gif>>

Reply via email to