Thanks, but I am getting in the field. I just can't get anything typed in.
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: Barry Rudd [mailto:[EMAIL PROTECTED] Sent: Thursday, December 18, 2003 1:43 PM To: '[EMAIL PROTECTED]' Subject: RE: [Talk] Destination field in Meditech C/S for Downloading File s Martin, I'm new too, but I've noticed that the combination keys don't work. You might try this ... AppActivate ("The Name of the Meditech Window") SendKeys "%D", 1 This command comes from VBA not BWS. Hope that helps. Barry Rudd IT Applications Manager Satilla Regional Medical Center > -----Original Message----- > From: Martin Reiter [SMTP:[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." =========================================================================== This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. If you are not the intended recipient of this e-mail, you are cautioned that the use of its contents in any way is prohibited and may be unlawful. If you have received this communication in error, please notify the sender immediately by e-mail or telephone and return the original message by e-mail to the sender. We will reimburse you for any cost you incur in notifying us of the errant e-mail. ============================================================================ "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."
