|
Thanks George! Use of GUIs has mushed
my brain, and I should have known better. For those of you out there that have been
raised on GUI, don’t forget that there are usually multiple ways to
accomplish a task in a GUI. I had tunnel vision when I sent this
email, thinking that I had to select a folder from the drop down list in Save
In. WRONG! What George’s solution does is use
the File Name text box, which, in addition to taking just the file name, will
take a complete path and ignore the folder in the Save In text box. I tested
it, and shore ‘nuf, it works like a charm. Thanks again, George. There is always more
than one way to skin a cat…
-----Original Message----- Lew, I have a script that runs
NPR reports in Meditech and downloads them to files on a PC. The way my script
handles the save as window in as follows:
Const FilePath = "C:\Whatever path you want" _______________________________________________________________________ Pause "Save [EMAIL PROTECTED],1" Wait 3 Activate "Save As" Wait 1 SendKeys FilePath SendKeys YourFileName + "{ENTER}" I hope this helps, George
Winterberg System Analyst Saint Anthony's
Health Center (618) 463-5311 -----Original Message----- And a Happy New Year to you all! Anyone out there that would like to
share some scripting code? I am writing a script for a
non-Meditech application, where I am using the application's report
functionality to create a file that I will be using later for comparison. I
want to save the report file in a particular folder, so I need to navigate the
Save In: drop down menu in the Save As window. I know that I should be using
this as a learning experience, but I really don't have the time unless I really
have to make it. Has anyone written code to navigate
a drop down menu, especially Save In? My guess is that it is similar to
what I have done in our Meditech Magic application, but I have worked very
little with C/S and BWS scripting. TKs DISCLAIMER: |
- [Talk] "Save As" in BWS Lew Hundley
- RE: [Talk] "Save As" in BWS George Winterberg
- Lew Hundley
