Rich,

Here is a portion of the log file that pertains to our error.


Shirley Hammack
I.T. Financial Analyst
Jackson County Memorial Hospital
580-482-4781 ext 2554


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Rich McNeil
Sent: Thursday, December 29, 2005 11:29 AM
To: [email protected]
Subject: RE: [Talk] key "@_LASTSCREEN"


Shirley,

Looking at the code for the Meditech Connection, there shouldn't be any way
that Key "@_LASTSCREEN" could get to the keyboard, so I'm also puzzled about
what you saw.

I also try to avoid having to get up in the middle of the night to check on
a script.  There shouldn't be any theoretical reason why a script running
from the Scheduler would act any different from one directly started, but
sometimes, in the middle of the night, the operating environment is
different...due to running reports, for example.  As an extra precaution,
I'd suggest slowing this part of the script down with added Wait's.

Rich McNeil
Boston Software Systems
866 653 5105 x813 -or- 508 318 5327
www.bostonworkstation.com

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Shirley Hammack
Sent: Tuesday, December 27, 2005 12:40 PM
To: Boston Work Station (E-mail)
Subject: [Talk] key "@_LASTSCREEN"

I am working in Meditech Magic with Workstation 3.x. I have a script that
closes my LSS databases.  In the screen where I am looking for the transfer
of the data from the clinics (which use PRV) to complete, there is a pop up
that says "Again?".  This causes the screen I want to look at to not be the
current screen.  I have used the command Key "@_LASTSCREEN" to check for the
word COMPLETE in the status field.

This works absolutely perfectly when I start the script manually. However
the script has to run between midnight and 7am and I'm tired of getting up
in the middle of the night to run it manually.  So last night I scheduled it
for just a one-time run at 3am.  At about 5am I dialed in to check on it.
It was stuck in the loop looking for "COMPLETE" and there was an "@" typed
in after the word "Again?"

I went into debug mode and stepped through the loop a few time.  I backed
out the "@" sign but the script kept putting it back in.  I then patched the
script and restarted it manually.  It ran perfectly.

What is going on here?????

Shirley Hammack
I.T. Financial Analyst
Jackson County Memorial Hospital
580-482-4781 ext 2554


The documents accompanying this transmission contain confidential
information, belonging to the sender, that is legally privileged.  This
information is intended only for the use of the individual or entity named
above.  The authorized recipient of this information is prohibited from
disclosing this information after its stated need has been fulfilled.

If you are not the intended recipient, you are hereby notified that any
reading, disclosure, copying, distribution, or action taken in reliance on
the contents of these documents is strictly prohibited.  Violators may be
prosecuted.  If you have received this email in error, please notify the
sender immediately and destroy the transmitted information.




This email has been scanned by the JCMH McAfee Webshield appliance and has been 
cleared for delivery.  If you have any concerns or questions, call the IT 
Helpdesk at x2646.


The documents accompanying this transmission contain confidential information, 
belonging to the sender, that is legally privileged.  This information is 
intended only for the use of the individual or entity named above.  The 
authorized recipient of this information is prohibited from disclosing this 
information after its stated need has been fulfilled.

If you are not the intended recipient, you are hereby notified that any 
reading, disclosure, copying, distribution, or action taken in reliance on the 
contents of these documents is strictly prohibited.  Violators may be 
prosecuted.  If you have received this email in error, please notify the sender 
immediately and destroy the transmitted information.
12/27/2005 3:00:07 AM CURSOR @1,67
12/27/2005 3:00:07 AM STATUS Paused for  Supervisor Chg Transfer Interface Menu@
12/27/2005 3:00:07 AM STATUS Keying 25{Enter}
12/27/2005 3:00:07 AM SCREEN: 
-------------------------------------------------------
FPC                       Supervisor Chg Transfer Interface Menu  25            
          

                                                                                
          
     Cashiering Functions                       List Routines       
          
    11. Post Cash Batches                            61. List Suspense File     
          
                                                     63. List Summary Suspense 
File       
     Transfer Functions                        65. List Charge Summary By 
Date      
    21. Transfer Charges                             67. List Payment Summary 
By Date     
    23. Transfer MEDITECH Diagnoses And Providers    69. List Payments By DB 
Level B      
        (BAR Xfr Only)                                                          
          
    25. View Charge Transfer Status                  81. List Errors            
          
                                                     83. List Charge Transfer 
Messages    
     Suspense File                                                        
          
    31. Process Suspense File                                                   
          
    33. Process Error File                                                      
          
    35. Auto Batch Suspense File                                                
          
                                                                                
          

User: SCRIPTING                                               *LIVE*            
          

------------------------------------------------------------------------------------
12/27/2005 3:00:07 AM CURSOR @1,69
12/27/2005 3:00:07 AM STATUS Pausing for  @1,9
12/27/2005 3:00:07 AM SCREEN: 
-------------------------------------------------------
Again?   

------------------------------------------------------------------------------------
12/27/2005 3:00:07 AM CURSOR @1,9
12/27/2005 3:00:07 AM STATUS Paused for   @1,9
12/27/2005 3:00:07 AM STATUS Keying @_LASTSCREEN
12/27/2005 3:00:07 AM SCREEN: 
-------------------------------------------------------
Again?  @

------------------------------------------------------------------------------------
12/27/2005 3:00:07 AM CURSOR @1,10
12/27/2005 3:00:12 AM STATUS Keying @_CURRENTSCREEN
12/27/2005 3:00:12 AM STATUS Keying Y{Enter}
12/27/2005 3:00:12 AM STATUS Pausing for  @1,9
12/27/2005 3:00:12 AM SCREEN: 
-------------------------------------------------------
Again?   

------------------------------------------------------------------------------------
12/27/2005 3:00:12 AM CURSOR @1,9
12/27/2005 3:00:12 AM STATUS Paused for   @1,9
12/27/2005 3:00:12 AM STATUS Keying @_LASTSCREEN
12/27/2005 3:00:12 AM SCREEN: 
-------------------------------------------------------
Again?  @

------------------------------------------------------------------------------------
12/27/2005 3:00:12 AM CURSOR @1,10
12/27/2005 3:00:17 AM STATUS Keying @_CURRENTSCREEN
12/27/2005 3:00:17 AM STATUS Keying Y{Enter}
12/27/2005 3:00:18 AM STATUS Pausing for  @1,9
12/27/2005 3:00:18 AM SCREEN: 
-------------------------------------------------------
Again?   

------------------------------------------------------------------------------------
12/27/2005 3:00:18 AM CURSOR @1,9
12/27/2005 3:00:18 AM STATUS Paused for   @1,9
12/27/2005 3:00:18 AM STATUS Keying @_LASTSCREEN
12/27/2005 3:00:18 AM SCREEN: 
-------------------------------------------------------
Again?  @

------------------------------------------------------------------------------------
12/27/2005 3:00:18 AM CURSOR @1,10
12/27/2005 3:00:23 AM STATUS Keying @_CURRENTSCREEN
12/27/2005 3:00:23 AM STATUS Keying Y{Enter}
12/27/2005 3:00:23 AM STATUS Pausing for  @1,9
12/27/2005 3:00:23 AM SCREEN: 
-------------------------------------------------------
Again?   

------------------------------------------------------------------------------------
12/27/2005 3:00:23 AM CURSOR @1,9
12/27/2005 3:00:23 AM STATUS Paused for   @1,9
12/27/2005 3:00:23 AM STATUS Keying @_LASTSCREEN
12/27/2005 3:00:23 AM SCREEN: 
-------------------------------------------------------
Again?  @

------------------------------------------------------------------------------------
12/27/2005 3:00:23 AM CURSOR @1,10
12/27/2005 3:00:28 AM STATUS Keying @_CURRENTSCREEN
12/27/2005 3:00:28 AM STATUS Keying Y{Enter}
12/27/2005 3:00:28 AM STATUS Pausing for  @1,9
12/27/2005 3:00:28 AM SCREEN: 
-------------------------------------------------------
Again?   

------------------------------------------------------------------------------------
12/27/2005 3:00:28 AM CURSOR @1,9
12/27/2005 3:00:28 AM STATUS Paused for   @1,9
12/27/2005 3:00:28 AM STATUS Keying @_LASTSCREEN
12/27/2005 3:00:28 AM SCREEN: 
-------------------------------------------------------
Again?  @

------------------------------------------------------------------------------------
12/27/2005 3:00:28 AM CURSOR @1,10
12/27/2005 3:00:33 AM STATUS Keying @_CURRENTSCREEN
12/27/2005 3:00:33 AM STATUS Keying Y{Enter}
12/27/2005 3:00:34 AM STATUS Pausing for  @1,9
12/27/2005 3:00:34 AM SCREEN: 
-------------------------------------------------------
Again?   

------------------------------------------------------------------------------------
12/27/2005 3:00:34 AM CURSOR @1,9
12/27/2005 3:00:34 AM STATUS Paused for   @1,9
12/27/2005 3:00:34 AM STATUS Keying @_LASTSCREEN
12/27/2005 3:00:34 AM SCREEN: 
-------------------------------------------------------
Again?  @

------------------------------------------------------------------------------------
12/27/2005 3:00:34 AM CURSOR @1,10
12/27/2005 3:00:39 AM STATUS Keying @_CURRENTSCREEN
12/27/2005 3:00:39 AM STATUS Keying Y{Enter}
12/27/2005 3:00:39 AM STATUS Pausing for  @1,9
12/27/2005 3:00:39 AM SCREEN: 
-------------------------------------------------------
Again?   

------------------------------------------------------------------------------------
12/27/2005 3:00:39 AM CURSOR @1,9
12/27/2005 3:00:39 AM STATUS Paused for   @1,9
12/27/2005 3:00:39 AM STATUS Keying @_LASTSCREEN
12/27/2005 3:00:39 AM SCREEN: 
-------------------------------------------------------
Again?  @

------------------------------------------------------------------------------------
12/27/2005 3:00:39 AM CURSOR @1,10
12/27/2005 3:00:44 AM STATUS Keying @_CURRENTSCREEN
12/27/2005 3:00:44 AM STATUS Keying Y{Enter}
12/27/2005 3:00:44 AM STATUS Pausing for  @1,9
12/27/2005 3:00:44 AM SCREEN: 
-------------------------------------------------------
Again?   

------------------------------------------------------------------------------------
12/27/2005 3:00:44 AM CURSOR @1,9
12/27/2005 3:00:44 AM STATUS Paused for   @1,9
12/27/2005 3:00:44 AM STATUS Keying @_LASTSCREEN
12/27/2005 3:00:44 AM SCREEN: 
-------------------------------------------------------
Again?  @

------------------------------------------------------------------------------------
12/27/2005 3:00:44 AM CURSOR @1,10
12/27/2005 3:00:50 AM STATUS Keying @_CURRENTSCREEN
12/27/2005 3:00:50 AM STATUS Keying Y{Enter}
12/27/2005 3:00:50 AM STATUS Pausing for  @1,9
12/27/2005 3:00:50 AM SCREEN: 
-------------------------------------------------------
Again?   

------------------------------------------------------------------------------------
12/27/2005 3:00:50 AM CURSOR @1,9
12/27/2005 3:00:50 AM STATUS Paused for   @1,9
12/27/2005 3:00:50 AM STATUS Keying @_LASTSCREEN
12/27/2005 3:00:50 AM SCREEN: 
-------------------------------------------------------
Again?  @

------------------------------------------------------------------------------------
12/27/2005 3:00:50 AM CURSOR @1,10
12/27/2005 3:00:55 AM STATUS Keying @_CURRENTSCREEN
12/27/2005 3:00:55 AM STATUS Keying Y{Enter}
12/27/2005 3:00:55 AM STATUS Pausing for  @1,9
12/27/2005 3:00:55 AM SCREEN: 
-------------------------------------------------------
Again?   

------------------------------------------------------------------------------------
12/27/2005 3:00:55 AM CURSOR @1,9
12/27/2005 3:00:55 AM STATUS Paused for   @1,9
12/27/2005 3:00:55 AM STATUS Keying @_LASTSCREEN
12/27/2005 3:00:55 AM SCREEN: 
-------------------------------------------------------
Again?  @

------------------------------------------------------------------------------------
12/27/2005 3:00:55 AM CURSOR @1,10
12/27/2005 3:01:00 AM STATUS Keying @_CURRENTSCREEN
12/27/2005 3:01:00 AM STATUS Keying Y{Enter}
12/27/2005 3:01:00 AM STATUS Pausing for  @1,9
12/27/2005 3:01:00 AM SCREEN: 
-------------------------------------------------------
Again?   

------------------------------------------------------------------------------------
12/27/2005 3:01:00 AM CURSOR @1,9
12/27/2005 3:01:00 AM STATUS Paused for   @1,9
12/27/2005 3:01:00 AM STATUS Keying @_LASTSCREEN
12/27/2005 3:01:00 AM SCREEN: 
-------------------------------------------------------
Again?  @

------------------------------------------------------------------------------------
12/27/2005 3:01:00 AM CURSOR @1,10
12/27/2005 3:01:05 AM STATUS Keying @_CURRENTSCREEN
12/27/2005 3:01:06 AM STATUS Keying Y{Enter}
12/27/2005 3:01:06 AM STATUS Pausing for  @1,9
12/27/2005 3:01:06 AM SCREEN: 
-------------------------------------------------------
Again?   

------------------------------------------------------------------------------------
12/27/2005 3:01:06 AM CURSOR @1,9
12/27/2005 3:01:06 AM STATUS Paused for   @1,9
12/27/2005 3:01:06 AM STATUS Keying @_LASTSCREEN
12/27/2005 3:01:06 AM SCREEN: 
-------------------------------------------------------
Again?  @

------------------------------------------------------------------------------------
12/27/2005 3:01:06 AM CURSOR @1,10
12/27/2005 3:01:11 AM STATUS Keying @_CURRENTSCREEN
12/27/2005 3:01:11 AM STATUS Keying Y{Enter}
12/27/2005 3:01:11 AM STATUS Pausing for  @1,9
12/27/2005 3:01:11 AM SCREEN: 
-------------------------------------------------------
Again?   

------------------------------------------------------------------------------------
12/27/2005 3:01:11 AM CURSOR @1,9
12/27/2005 3:01:11 AM STATUS Paused for   @1,9
12/27/2005 3:01:11 AM STATUS Keying @_LASTSCREEN
12/27/2005 3:01:11 AM SCREEN: 
-------------------------------------------------------
Again?  @

------------------------------------------------------------------------------------
12/27/2005 3:01:11 AM CURSOR @1,10
12/27/2005 3:01:16 AM STATUS Keying @_CURRENTSCREEN
12/27/2005 3:01:16 AM STATUS Keying Y{Enter}
12/27/2005 3:01:16 AM STATUS Pausing for  @1,9
12/27/2005 3:01:16 AM SCREEN: 
-------------------------------------------------------
Again?   

------------------------------------------------------------------------------------
12/27/2005 3:01:16 AM CURSOR @1,9
12/27/2005 3:01:16 AM STATUS Paused for   @1,9
12/27/2005 3:01:16 AM STATUS Keying @_LASTSCREEN
12/27/2005 3:01:16 AM SCREEN: 
-------------------------------------------------------
Again?  @

------------------------------------------------------------------------------------
12/27/2005 3:01:16 AM CURSOR @1,10
12/27/2005 3:01:22 AM STATUS Keying @_CURRENTSCREEN
12/27/2005 3:01:22 AM STATUS Keying Y{Enter}
12/27/2005 3:01:22 AM STATUS Pausing for  @1,9
12/27/2005 3:01:22 AM SCREEN: 
-------------------------------------------------------
Again?   

------------------------------------------------------------------------------------
12/27/2005 3:01:22 AM CURSOR @1,9
12/27/2005 3:01:22 AM STATUS Paused for   @1,9
12/27/2005 3:01:22 AM STATUS Keying @_LASTSCREEN
12/27/2005 3:01:22 AM SCREEN: 
-------------------------------------------------------
Again?  @

------------------------------------------------------------------------------------
12/27/2005 3:01:22 AM CURSOR @1,10
12/27/2005 3:01:27 AM STATUS Keying @_CURRENTSCREEN
12/27/2005 3:01:27 AM STATUS Keying Y{Enter}
12/27/2005 3:01:27 AM STATUS Pausing for  @1,9
12/27/2005 3:01:27 AM SCREEN: 
-------------------------------------------------------
Again?   

------------------------------------------------------------------------------------
12/27/2005 3:01:27 AM CURSOR @1,9
12/27/2005 3:01:27 AM STATUS Paused for   @1,9
12/27/2005 3:01:27 AM STATUS Keying @_LASTSCREEN
12/27/2005 3:01:27 AM SCREEN: 
-------------------------------------------------------
Again?  @

------------------------------------------------------------------------------------
12/27/2005 3:01:27 AM CURSOR @1,10
12/27/2005 3:01:32 AM STATUS Keying @_CURRENTSCREEN
12/27/2005 3:01:32 AM STATUS Keying Y{Enter}
12/27/2005 3:01:32 AM STATUS Pausing for  @1,9
12/27/2005 3:01:32 AM SCREEN: 
-------------------------------------------------------
Again?   

------------------------------------------------------------------------------------
12/27/2005 3:01:32 AM CURSOR @1,9
12/27/2005 3:01:32 AM STATUS Paused for   @1,9
12/27/2005 3:01:32 AM STATUS Keying @_LASTSCREEN
12/27/2005 3:01:32 AM SCREEN: 
-------------------------------------------------------
Again?  @

------------------------------------------------------------------------------------
12/27/2005 3:01:32 AM CURSOR @1,10
12/27/2005 3:01:38 AM STATUS Keying @_CURRENTSCREEN
12/27/2005 3:01:38 AM STATUS Keying Y{Enter}
12/27/2005 3:01:38 AM STATUS Pausing for  @1,9
12/27/2005 3:01:38 AM SCREEN: 
-------------------------------------------------------
Again?   

------------------------------------------------------------------------------------
12/27/2005 3:01:38 AM CURSOR @1,9
12/27/2005 3:01:38 AM STATUS Paused for   @1,9
12/27/2005 3:01:38 AM STATUS Keying @_LASTSCREEN
12/27/2005 3:01:38 AM SCREEN: 
-------------------------------------------------------
Again?  @

------------------------------------------------------------------------------------
12/27/2005 3:01:38 AM CURSOR @1,10
12/27/2005 3:01:43 AM STATUS Keying @_CURRENTSCREEN
12/27/2005 3:01:43 AM STATUS Keying Y{Enter}
12/27/2005 3:01:43 AM STATUS Pausing for  @1,9
12/27/2005 3:01:43 AM SCREEN: 
-------------------------------------------------------
Again?   

------------------------------------------------------------------------------------
12/27/2005 3:01:43 AM CURSOR @1,9
12/27/2005 3:01:43 AM STATUS Paused for   @1,9
12/27/2005 3:01:43 AM STATUS Keying @_LASTSCREEN
12/27/2005 3:01:43 AM SCREEN: 
-------------------------------------------------------
Again?  @

------------------------------------------------------------------------------------
12/27/2005 3:01:43 AM CURSOR @1,10
12/27/2005 3:01:48 AM STATUS Keying @_CURRENTSCREEN
12/27/2005 3:01:48 AM STATUS Keying Y{Enter}
12/27/2005 3:01:48 AM STATUS Pausing for  @1,9
12/27/2005 3:01:48 AM SCREEN: 
-------------------------------------------------------
Again?   

------------------------------------------------------------------------------------
12/27/2005 3:01:48 AM CURSOR @1,9
12/27/2005 3:01:48 AM STATUS Paused for   @1,9
12/27/2005 3:01:48 AM STATUS Keying @_LASTSCREEN
12/27/2005 3:01:48 AM SCREEN: 
-------------------------------------------------------
Again?  @

------------------------------------------------------------------------------------
12/27/2005 3:01:48 AM CURSOR @1,10
12/27/2005 3:01:54 AM STATUS Keying @_CURRENTSCREEN
12/27/2005 3:01:54 AM STATUS Keying Y{Enter}
12/27/2005 3:01:54 AM STATUS Pausing for  @1,9
12/27/2005 3:01:54 AM SCREEN: 
-------------------------------------------------------
Again?   

------------------------------------------------------------------------------------
12/27/2005 3:01:54 AM CURSOR @1,9
12/27/2005 3:01:54 AM STATUS Paused for   @1,9
12/27/2005 3:01:54 AM STATUS Keying @_LASTSCREEN
12/27/2005 3:01:54 AM SCREEN: 
-------------------------------------------------------
Again?  @

------------------------------------------------------------------------------------
12/27/2005 3:01:54 AM CURSOR @1,10
12/27/2005 3:01:59 AM STATUS Keying @_CURRENTSCREEN
12/27/2005 3:01:59 AM STATUS Keying Y{Enter}
12/27/2005 3:01:59 AM STATUS Pausing for  @1,9
12/27/2005 3:01:59 AM SCREEN: 
-------------------------------------------------------
Again?   

------------------------------------------------------------------------------------
12/27/2005 3:01:59 AM CURSOR @1,9
12/27/2005 3:01:59 AM STATUS Paused for   @1,9
12/27/2005 3:01:59 AM STATUS Keying @_LASTSCREEN
12/27/2005 3:01:59 AM SCREEN: 
-------------------------------------------------------
Again?  @

------------------------------------------------------------------------------------
12/27/2005 3:01:59 AM CURSOR @1,10
12/27/2005 3:02:04 AM STATUS Keying @_CURRENTSCREEN
12/27/2005 3:02:04 AM STATUS Keying Y{Enter}
12/27/2005 3:02:04 AM STATUS Pausing for  @1,9
12/27/2005 3:02:04 AM SCREEN: 
-------------------------------------------------------
Again?   

------------------------------------------------------------------------------------
12/27/2005 3:02:04 AM CURSOR @1,9
12/27/2005 3:02:04 AM STATUS Paused for   @1,9
12/27/2005 3:02:04 AM STATUS Keying @_LASTSCREEN
12/27/2005 3:02:04 AM SCREEN: 
-------------------------------------------------------
Again?  @

------------------------------------------------------------------------------------
12/27/2005 3:02:04 AM CURSOR @1,10
12/27/2005 3:02:10 AM STATUS Keying @_CURRENTSCREEN
12/27/2005 3:02:10 AM STATUS Keying Y{Enter}
12/27/2005 3:02:10 AM STATUS Pausing for  @1,9
12/27/2005 3:02:10 AM SCREEN: 
-------------------------------------------------------
Again?   

------------------------------------------------------------------------------------
12/27/2005 3:02:10 AM CURSOR @1,9
12/27/2005 3:02:10 AM STATUS Paused for   @1,9
12/27/2005 3:02:10 AM STATUS Keying @_LASTSCREEN
12/27/2005 3:02:10 AM SCREEN: 
-------------------------------------------------------
Again?  @

------------------------------------------------------------------------------------
12/27/2005 3:02:10 AM CURSOR @1,10
12/27/2005 3:02:15 AM STATUS Keying @_CURRENTSCREEN
12/27/2005 3:02:15 AM STATUS Keying Y{Enter}
12/27/2005 3:02:15 AM STATUS Pausing for  @1,9
12/27/2005 3:02:15 AM SCREEN: 
-------------------------------------------------------
Again?   

--------------------------------

Reply via email to