You use some if found logic to handle it ?


Bruce Krigman
Information Systems
South Shore Hospital
781-340-8299
Inactive hide details for "Shirley Hammack" <[EMAIL PROTECTED]>"Shirley Hammack" <[EMAIL PROTECTED]>


          "Shirley Hammack" <[EMAIL PROTECTED]>
          Sent by: [EMAIL PROTECTED]

          12/30/2005 02:14 PM

          Please respond to
          [email protected]

To

<[email protected]>

cc


Subject

RE: [Talk] key "@_LASTSCREEN"

Tom, in order to handle the "Again?" I have to be able to read the screen behind it.  The screen appears and the the "Again?" pops up in front if it.  If the string "COMPLETED" exists there then I can say "N" or <enter>.  If it's not there I must say "Y".  But all the script can see is "Again?".


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


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Thomas Mcmanus
Sent: Friday, December 30, 2005 12:40 PM
To: [email protected]
Subject: RE: [Talk] key "@_LASTSCREEN"


Hi,

I know that the problem you are having is with the message "Again?",
couldn't you just handle the Again? Message in your script with an If
statement and then go back to what you were trying to accomplish?
Tom McManus
Tuomey Hospital
Sumter, SC
803.774.8645



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Shirley Hammack
Sent: Friday, December 30, 2005 12:47 PM
To: [email protected]
Subject: RE: [Talk] key "@_LASTSCREEN"

I tried it again last night - the same thing happened.

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


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On 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.


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.

GIF image

Reply via email to