Greetings, If what you are using it for is to control the Meditech window e.g. minimize it
Use: Dim cgw As New CGetWindow cgw.ShowWindow showMINIMIZE, R.hWnd Regards, Thom Thom C. Blackwell Product Manager Boston Software Systems (866) 653-5105 ex 807 www.bossoft.com <http://www.bossoft.com/> Sign <http://www.bostonworkstation.com/customer_center/special_events.aspx> up for my weekly webinar! LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lawrence, Mitchell Sent: Thursday, July 31, 2008 4:01 PM To: [email protected] Subject: RE: [Talk] Meditech C/S 5.5, 5.6 and minimizing using BWS cool. I think that was what I was looking for. Now to just use it Thank you, Mitch Lawrence Lead Applications Analyst Technical Support - NPR/Automation CHRISTUS Information Management : <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] Send a " <http://intranet.christushealth.org/spiritBuck/Default.asp> thank you" to someone! _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, July 31, 2008 2:58 PM To: [email protected] Subject: RE: [Talk] Meditech C/S 5.5, 5.6 and minimizing using BWS Greetings, People care... I care J Im running through some scenarios on your earlier question As for the handle question. With C/S r.hwnd will tell you the handle of the Meditech window. Regards, Thom Thom C. Blackwell Product Manager Boston Software Systems (866) 653-5105 ex 807 www.bossoft.com <http://www.bossoft.com/> Sign <http://www.bostonworkstation.com/customer_center/special_events.aspx> up for my weekly webinar! LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lawrence, Mitchell Sent: Thursday, July 31, 2008 3:42 PM To: [email protected] Subject: RE: [Talk] Meditech C/S 5.5, 5.6 and minimizing using BWS Well, that wouldnt be the first time I emailed the circular file. HAHA. Anyone have any idea on the very first email (at the bottom), or my latest? Thank you, Mitch Lawrence Lead Applications Analyst Technical Support - NPR/Automation CHRISTUS Information Management : <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] Send a " <http://intranet.christushealth.org/spiritBuck/Default.asp> thank you" to someone! _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bennett, Brian Sent: Thursday, July 31, 2008 2:41 PM To: '[email protected]' Subject: RE: [Talk] Meditech C/S 5.5, 5.6 and minimizing using BWS Not that it's much help, but your first message never made it to "my" email. Maybe no else has seen it either? and....I ain't anymore help then that. :( Brian Bennett Affinity Health Systems Systems Analyst PBS\Clinic Billing (920)628-9055 [EMAIL PROTECTED] _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lawrence, Mitchell Sent: Thursday, July 31, 2008 2:35 PM To: [email protected] Subject: RE: [Talk] Meditech C/S 5.5, 5.6 and minimizing using BWS Either noone has something or noone cares. So Does anyone have a method of obtaining the window handle (hWnd) for the current Connect application within BWS? Thank you, Mitch Lawrence Lead Applications Analyst Technical Support - NPR/Automation CHRISTUS Information Management : <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] Send a " <http://intranet.christushealth.org/spiritBuck/Default.asp> thank you" to someone! _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lawrence, Mitchell Sent: Thursday, July 31, 2008 9:14 AM To: [email protected] Subject: [Talk] Meditech C/S 5.5, 5.6 and minimizing using BWS Hello, I have several scripts that start Meditech, browse to a report, get it to start downloading and then minimize Meditech and finish the script, leaving Meditech downloading in the background. The problem that I am seeing is that since version 9, BWS no longer sees the [EMAIL PROTECTED],1 state from Meditech. Version 8 did not have an issue seeing this state. Since this state is what is being keyed in on in order to let BWS know it is ok to minimize Meditech, Im at a dilemma in that I need a version 9 way to accomplish the same thing. Here is the set of rules that accomplishes this task (version 9 script shown): Rule||Print/Download Key "{F12}" Step|Print/Download| Rule|Print [EMAIL PROTECTED],1&@3,0|Select Destination DownloadReport "C:\Download\IPC\RN_IPC_" & DateStamp & ".txt" Rule|Timeout|Timeout TOStep="Print/Download" Step|Select Destination| Rule||Output Enter "" Press OK on the Print Destination window Share("WaitSpeed") = -1 Recommended to use this during support call with BWS. Added for version 9 Stable 0.5 Let Meditech stabilize. Added for version 9 Step|Output| Rule|[EMAIL PROTECTED],1|Minimize Is Meditech actively downloading? If so, minimize it. Rule|Timeout|Timeout TOStep = "Output" Step|Minimize| Rule||Closeout SendKeys "% N", True Send the minimizing key sequence to Meditech Step|Closeout| Rule||End WriteToLog "INWSRH_IPC_RN_DL", "Download", "Daily", "5", "01:10:00 AM", "Completed" Step|Timeout| Rule||End WriteToLog "INWSRH_IPC_RN_DL", "Download", "Daily", "5", "01:10:00 AM", "Hung" Step|End| Rule|| Shutdown = True What is happening is that sometimes this works, sometimes it doesnt. It isnt consistent as it was under version 8. Ive also tried the following for checking the state of Meditech before sending to the minimizing step: Rule|[EMAIL PROTECTED],1|Minimize I would appreciate very much any assistance, suggestions, etc on getting this thing to work, everytime, without fail. Our current scheduled script count: 673 On demand data entry script count: 35 Thank you, Mitch Lawrence Lead Applications Analyst Technical Support - NPR/Automation CHRISTUS Information Management : <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] Send a " <http://intranet.christushealth.org/spiritBuck/Default.asp> thank you" to someone!
<<image001.jpg>>
