Mitch's suggestion is the best way to go. I have been using it for years and it never fails. You won't be able to say that about the Smartdialog method. Do you want fun or more reliable? Your call :)
-- Bill Palmer Financial Systems Analyst Mid-Columbia Medical Center 541-296-7417 >>> On 3/11/2010 at 1:22 PM, in message <[email protected]> wrote: > True, but the smartdialog looks like more fun! Thanks. > > > > From: [email protected] [mailto:[email protected]] > Sent: Thursday, March 11, 2010 4:10 PM > To: [email protected] > Subject: RE: [talkbws] Windows 'Save As' popup > > > > Conversely, tell meditech what the download path is from within the NPR (see > Meditech.com KB articles for how-to do this). > > > > Thank you, > > Mitch Lawrence > > Lead Applications Analyst > > Enterprise Data Standards - NPR/Automation > > CHRISTUS Information Management > > *: [email protected] > <mailto:[email protected]> > > > > > > ________________________________ > > From: [email protected] [mailto:[email protected]] > Sent: Thursday, March 11, 2010 3:07 PM > To: [email protected] > Subject: RE:[talkbws] Windows 'Save As' popup > > > > > > Pause "Print on:@1,1" > > Pause "@1,11" > > Enter "DOWNLOAD" > > Pause "Suppress: Nothing,@1,1" > > 'Pause "@1,57" > > Key "{F10}" > > Enter "N" > > > > Activate "Save*", True > > Wait 1 > > Activate "Save*", True > > SmartDialog("Save*", " ").First > > SmartDialog("Save*", "File name:<Editable text>").Value =????? > > SmartDialog("Save*", "Save<Push button>").Click > > > > Do > > Wait 5 > > Connect "RPC", stMeditechNUIEx > > Stable 0.5 > > > > If At("No records found.") Then > > SendMail "X @X.com", ReportID & "NO RECORDS (eom)", "", "RPC > @BWS.com", "", "smtp-gw.nas.medcity.net", "", "", , False > > Enter > > End If > > > > If At("End o...@1,1") Then Enter > > > > DoEvents > > Stable 0.5 > > Loop Until At("Select?") > > > > Pause "Process repo...@1,8" > > Pause "@21,13" > > Pause "Select?" > > Key "{F11}" > > > > thanx, sherry > > HCA Midwest ITSC > > Application Analyst/Programmer > > 816/823-0406 > > "Some of us are more capable than others of us ... but none of us is more > capable than all of us" > > > > From: [email protected] [mailto:[email protected]] > Sent: Thursday, March 11, 2010 15:02 > To: [email protected] > Subject: [talkbws] Windows 'Save As' popup > > > > Hi, > > Does anyone have a procedural script example involving interaction with a > windows "save as" popup? > > My script will be running an NPR report in Meditech Magic 5.63. > > The Meditech print device I'm sending the report to is called "DOWNLOAD", > which will write the file to disk. When "DOWNLOAD" is specified as the print > device, the windows "Save As" box pops up, where you enter the path and file > name, click "Save", and you're done. > > Has anyone scripted for a similar scenario? I'm using BWS version 9.94 > revision 1171. > > Thanks, > > Tom Choiniere > > I.S. - Systems Analyst > > > > Saratoga Hospital > > 211 Church Street > > Saratoga Springs, NY > > 12866 > > 518-583-5994 > > > > --- To post a message to this list, send mail to: [email protected] You are > currently subscribed as: [email protected] Unsubscribe in the > customer center on our website: > http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx > > > > This e-mail communication and any attachments may contain > confidential and privileged information for the use of the > designated recipients named above. > If you are not the intended recipient, you are hereby notified > that you have received this communication in error and that > any review, disclosure, dissemination, distribution or copying > of it or its contents is prohibited. If you have received this > communication in error, please notify Saratoga Hospital > immediately by e-mail at [email protected] and > destroy all copies of this communication and any attachments. > > > > --- To post a message to this list, send mail to: [email protected] You are > currently subscribed as: [email protected] Unsubscribe > in the customer center on our website: > http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx > > > > > --- To post a message to this list, send mail to: [email protected] You are > currently subscribed as: [email protected] Unsubscribe in the > customer center on our website: > http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx > > > > > This e-mail communication and any attachments may contain > confidential and privileged information for the use of the > designated recipients named above. > If you are not the intended recipient, you are hereby notified > that you have received this communication in error and that > any review, disclosure, dissemination, distribution or copying > of it or its contents is prohibited. If you have received this > communication in error, please notify Saratoga Hospital > immediately by e-mail at [email protected] and > destroy all copies of this communication and any attachments. > > --- To post a message to this list, send mail to: [email protected] You are > currently subscribed as: [email protected] Unsubscribe in the customer center > on our website: > http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx > CONFIDENTIALITY NOTICE: This e-mail message (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, and is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any unauthorized review, use, disclosure, dissemination, copying, forwarding or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. If you are the intended recipient but do not wish to receive communication through this medium, please advise the sender immediately. --- To post a message to this list, send mail to: [email protected] You are currently subscribed as: [email protected] Unsubscribe in the customer center on our website: http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx
