I am assuming you are at a Meditech Magic site. What I do is bypass the save as dialog. I have attached a NPR report that uses macros to automatically send the report to download. This particular one uses the same filename each time. If you need to vary the filename you will have to initialize a variable with date and time or some other random data.
I hope this helps -- Bill Palmer Information Systems Financial Coordinator Mid-Columbia Medical Center The Dalles, OR 97058 541-296-7417 >>> On 6/5/2007 at 7:29 am, in message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: > I am having a problem with a save as dialog box when the PC the script > runs on is locked. I am using the activate and the sendkeys function to > handle the save as dialog box. If I run the script when the PC is not > locked it runs fine. But if it is locked then it stops as soon as the > save as dialog box pops up. Has anyone else had this problem? If so, > how did you handle it? > > > > Thanks in advance, > > > > Stephen Smesny > > Programmer/Analyst > > Beaufort Memorial Hospital > > 955 Ribaut Rd > > Beaufort SC, 29902 > > > ********************************************************************** > The information contained in this electronic communication, and any > electronic attachment(s), is CONFIDENTIAL and is intended only for the named > recipient(s) above. If the reader of this message is not the intended > recipient(s), you are hereby notified that any release of information or > distribution of this communication is prohibited by law. If you have received > this message in error, or are not the named recipient(s), please immediately > notify the sender via reply email and delete this communication. > > ********************************************************************** > > > This message was scanned with MIMESweeper.
download.npr
Description: Binary data
