Title: Workstation 3.x Version Scripting problems

Mickey,

            If you put a pause in between each PGDN you should be fine.  It just gets going way to fast without them.  Putting the pause in between will not slow the script down at all, but it will make it stable.  By using the pause command you shouldn’t need the 3 second wait at the bottom of your script.  Here is an example…

 

Pause "Customer Defined [EMAIL PROTECTED],29"

Key "{PGDN}"

Pause “@5,10”  ‘this will not let the script go any further until the cursor is at position 5,10

Key "{PGDN}"

Pause “@7,0” ‘ this will not let the script go until the cursor is somewhere on the 7th row, this is good when you know you’ll stop on a certain row, but you’re not sure how large the existing data in the field is.  For instance, you might stop on a patient name field and it could either be SMITH,JOE or JOHNSON,JOSEPHINE

Key "{PGDN}"

Pause “@0,15” ‘ this will not let the script go until the cursor is on any row, but in the 15 position.  This is good in instances of multiples.

Key "{PGDN}"

Key "{PGDN}"

            Wait 3

            Pause "OTHER STATUS OF [EMAIL PROTECTED],1"

 

 

-----Original Message-----
From: Mickey Sherbett [mailto:[EMAIL PROTECTED]
Sent: Friday, 02 January, 2004 10:41 AM
To: [EMAIL PROTECTED]
Subject: [Talk] Workstation 3.x Version Scripting problems

 

     

        I am using the following command to connect to Meditech Remote Workstation 3.15

          Connect "C:\Program Files\Meditech\Workstation3.x\T.exe", stMeditech 

 

          I have the following code in the script and it works fine when running in development mode on my pc. 

 

           Pause "Customer Defined [EMAIL PROTECTED],29"

            Key "{PGDN}"

            Key "{PGDN}"

            Key "{PGDN}"

            Key "{PGDN}"

            Key "{PGDN}"

            Wait 3

            Pause "OTHER STATUS OF [EMAIL PROTECTED],1"

        When I execute it in runtime mode on another PC, the program halts and I have to press the PGDN button manually to get it to go to the Other Status prompt.

        Any body have any ideas.



Thanks,

Mickey Sherbett, Senior Analyst

DCH Regional Medical Center               

809 University Blvd. E.

Tuscaloosa Al. 35401

                               

205-759-7167

[EMAIL PROTECTED]

 

The information contained in this email message is confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient or the employee or agent responsible to deliver it to the intended recipient, the reader is hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.

 


____________________

Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

Reply via email to