You may try Pause after Key:
.Key "..."
.Pause "..."    'make sure "..." is on the screen

Jason Que
Information Services
Saint Louis University Hospital
(314) 256-3528


> -----Original Message-----
> From: Joe Strauss [SMTP:[EMAIL PROTECTED]
> Sent: Friday, September 05, 2003 11:51 AM
> To:   '[EMAIL PROTECTED]'
> Subject:      RE: [Talk] Meditech CS results entry issue
> 
> 
> I've played around with this section of code a lot and tried many things.
> For example:
> 
>                .Key "..."
>                .Wait 1
>                .Key "^{RIGHT}"
>                .Wait 2
> 
> Again, I can see the "..." being entered and it's always there on the
> screen
> as the script is entering text into the comment box. Then, sometimes, when
> it closes the comment box, the text "..." in the result field disappears.
> 
> Joe.
> 
> 
> -----Original Message-----
> From: Rich McNeil [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 05, 2003 9:32 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [Talk] Meditech CS results entry issue
> 
> 
> 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