Try using the sendkeys command with the full path like:
SendKeys "c:\foldername\filename" & "~", True
That has worked for me.
Gary
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bob Plance
Sent: Monday, July 11, 2005 7:34 PM
To: [email protected]
Subject: [Talk] File save as prompt through BWS
BWS ers
I am using Meditech 5.4 and BWS. I have gotten my script file to the point
where the dialog box opens and is asking for the name of the file (Save as).
I can't get the name of the file to take. I have tried using the @Dialog
command, Key , and Enter to no avail. When I enter the file name through BWS,
it is throwing me to the top dialog box looking for a change in folders, drive,
etc.
What am I missing?
Thanks all,
Bob