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   

<<image001.jpg>>

Reply via email to