Jason,
I hope Paul Donoughe doesn't mind but I am forwarding the code he uses
which was out on Talk before we set up the Archive -
Pause "Print on:@1,1"
Enter "DOWNLOAD"
Wait 2 ' I pause here for 2
seconds to account for system delays. If all else fails, put this out
to some exaggerated number like 10
Downwindow = "Save As" ' This wasn't necessary, but I
like to use Memory Variables.
DOWNFILE = "c:\ download.txt~" ' Same thing, not necessary.
AppActivate (Downwindow) ' Here's what I think you were
missing.
SendKeys DOWNFILE, True
AppActivate ("HIT") ' This gets me back to my
Active Meditech Screen, your screen may be different.
Pause "End of report" '
Sara McNeil
Boston Software Systems
www.bostonworkstation.com
The Essential Tool for Healthcare Integration
Toll Free:866 653 5105
Direct:508 653 5105
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sims Jason
Sent: Wednesday, October 01, 2003 11:35 AM
To: '[EMAIL PROTECTED]'
Subject: [Talk] Save As Dialog Box
Does anyone have an example of handling a Save As dialog box in windows?
I
have got a script that downloads a file from Meditech, then uses a
windows
dialog box to save the file to a certain location. Any help would be
appreciated! Thanks!