Is the Print Destination Box a popup?
If so, you need something like 

Key "@_DIALOG:%D"
Key "@_DIALOG:C:\ASCGRADE"
Key "@_DIALOG:{Tab}"            

Lew Hundley
Information Specialist - Programmer
Silverton Hospital
Silverton Oregon
503.873.1657
[EMAIL PROTECTED]



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Martin Reiter
Sent: Thursday, December 18, 2003 11:31 AM
To: [EMAIL PROTECTED]
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." 

DISCLAIMER:
This message, including any attachments, is intended for the sole use of the 
individual to whom it is addressed, and may contain information that is privileged, 
confidential and exempt from disclosure under applicable law. If you are not the 
addressee you are hereby notified that you may not use, copy, disclose, or distribute 
to anyone the message or any information contained in the message. If you have 
received this message in error, please immediately advise the sender by reply email 
and delete this message.

Reply via email to