Shouldn't there be a Pause before the .Key command...the .Key "..."
doesn't change the field (or does it?) so the .Pause "@,27" doesn't
check for a specific change in the cursor location, so I'm thinking that
the .Pause "@,27" should be before the .Key "...".  If the .Key occurs
before the application is ready to receive it, it may throw it out.

Rich McNeil
Boston Software Systems
866 653 5105
www.bostonworkstation.com
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joe Strauss
Sent: Friday, September 05, 2003 11:24 AM
To: '[EMAIL PROTECTED]'
Subject: [Talk] Meditech CS results entry issue

I have something strange happening in my results entry script. I'm not
sure
if it is a scripting issue or maybe even Meditech. My script always
enters
results this way:
    '...' (thats 3 periods) into the result field
 then it opens the result text comments box and enters text
 then it saves and gets out.

Code:
- enter result and open comment box
               .Key "..."
               .Pause ("@,27")
               .Key "^{RIGHT}"
               .Wait 2

- then it enters the text into the comments box and gets out and saves
the
accession

The problem is that sometimes (and there is no pattern to this), the
"..."
in the result field does not get saved. It disappears after the comments
box
is closed. The accession status changes, the text is in the comments
box,
but there is no text in the result field.
Any help is greatly appreciated.

Thank you.


Joe Strauss
Senior Programmer Analyst
Specialty Laboratories @ <www.specialtylabs.com>
310 828-6543 ext. 1240





Reply via email to