Martin,
        Try this.  I do this every day...

Stable 1
SendKeys "C:\Bwsdown\" & fName
Stable 2

SendKeys "~"
Wait 2
Pause "End of [EMAIL PROTECTED],1"

Enter
Wait 2

Ben

-----Original Message-----
From: Martin Reiter [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 18, 2003 2:31 PM
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." 

Reply via email to