I used Ben Green's suggestion.

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


-----Original Message-----
From: Lew Hundley [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 18, 2003 2:29 PM
To: [EMAIL PROTECTED]
Subject: RE: [Talk] Destination field in Meditech C/S for Downloading
File s


Come on, Martin, after all of this action tell us what you did that
makes it work.  

 :-)

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 12:22 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [Talk] Destination field in Meditech C/S for Downloading
File s


Thanks.  I have it working now.

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


-----Original Message-----
From: Green, Ben [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 18, 2003 2:21 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [Talk] Destination field in Meditech C/S for Downloading
File s


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

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

"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