I use this too in our Magic system.  It allows the machine to be locked
while running the script which I was not able to do when sending keys to the
download window in the past.

Scott Zimmerman, LIS Analyst
UMass Memorial LIS Department
Phone:  508-334-7237
Pager:  508-426-2178

> "The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, transmission, re-transmission, dissemination or other
use of, or taking of any action in reliance upon this information by persons
or entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer."  
> 


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 18, 2003 3:06 PM
To: [EMAIL PROTECTED]
Subject: Re: [Talk] Destination field in Meditech C/S for Downloading
Files



Hi,

What I do is put a macro call in the header of the report then build the
macro to supress  the destination stuff.

This is used for printing too.

Here is the Header line:     "_%(BAR)PAT..zcus.outpatient.survey.M..file
("")_

Here is the Macro names file:   "C:\Survery_files\survery_file_3.txt"
^Z.c.cust.rw.download.path,"survery report 1";

This does not solve the BWS issue but it does get the job done.

Bruce Krigman
South Shore Hospital






Martin Reiter <[EMAIL PROTECTED]>@BOSTONWORKSTATION.COM on 12/18/2003
02:30:42 PM

Please respond to [EMAIL PROTECTED]

Sent by:    [EMAIL PROTECTED]


To:    [EMAIL PROTECTED]
cc:

Subject:    [Talk] Destination field in Meditech C/S for Downloading Files



I am trying to automate a script to download some files to a server.  When
I
get to the Print Destination Box, I hit Alt-D to download and tab to the
destination field.  Key or Enter commands will not work here.  Here's a
sample of the code:

    ' Enter the file name

    Do While View(, , Row:=1, col:=1, length:=17) <> "Print Destination"
    Loop
    Stable 1
    Key "%D"
    Stable 1
    Key "{Tab}"
    Stable 1
    Pause "@5,1"
    Key "C:\ASCGRADE"
    Key "{Tab}"
    Key "{Tab}"

Does anyone see what I am doing wrong?  I new to using this product.

Thank you,

Martin E. Reiter, MCSD, MCDBA, MS
Applications Programming Manager
Commonwealth Health Corporation
800 Park St.
Bowling Green, KY  42101-2356
Phone:  (270) 796-5197
FAX:  (270) 745-1491


"Important Warning: This message is intended for the use of the person or
entity to whom it is addressed and may contain information that is
privileged and confidential. This disclosure is governed by applicable law.
If you are not the intended recipient, employer or agent responsible for
delivery to the intended recipient, you are hereby notified that any
disclosure, copying or distribution of this information is strictly
prohibited."



Reply via email to