I am attaching a MT Magic NPR report that uses macros to download reports directly to a directory and file name without using the windows popup box.  Note the report title on page one of the report calls one of the macros and a footnote on page 3 calls the other.
 
 
Bill Palmer
Financial Coordinator, Information Sys
Mid-Columbia Medical Center
The Dalles, OR 97058
541-296-7417

>>> [EMAIL PROTECTED] 09/16/03 01:14PM >>>
Hello,
Part of a recent script I wrote downloads NPR report data in MT Magic.  It
is unattended at night and the PC is locked.  The script stops when the when
the Windows Save As box is called by the MT "DOWNLOAD" function.  Any ideas
why this occurs and how to prevent it?
Public Sub RunDownloadDxs()
Pause "FROM"
Enter "T-1"  'normally would be for T-1
Pause "THRU ENTERED DATE"
Enter "T-1"  'normally would be for T-1
Pause "@1,11"
Enter "DOWNLOAD"
Pause "Suppress: Nothing, Page banners, Form feeds, or Both?"
Enter ""
Wait 2
Activate ("Save As")
SendKeys ("G:\Enter Lab Dxs\Lab Dxs.txt")
SendKeys ("%S")
Wait 30
Pause "End of report."
Enter ""
Pause "LAB ABSTRACTING SCRIPT MENU"
End Sub

thanks in advance,

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." 
>
>

Attachment: apcheck.npr
Description: Binary data

Reply via email to