Hi Thom, Thank you, this works pretty well. Scott Z
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Thom C.Blackwell Sent: Monday, October 09, 2006 11:57 AM To: [email protected] Subject: RE: [Talk] UMass Meditech Magic stream issue Greetings, BWS has to launch Meditech in order to connect to it. A "trick" to allow BWS to connect at will to a running session is to have the Meditech icon launch a "one line" script that just launches Meditech. Here's what you need to do for 3.x Connect "path to t.exe (optional)", stMeditech, "MyStream" Then your script can connect at will using: Connect "MyStream", stStream Client Server is identical to the above except it stMeditechCS and the path is to Vmagic.exe (or the new client exe whose name escapes me at the moment) For NUI the process is to use: Shell_ "c:\Bss70\MeditechNUIServer.exe Mystream c:\...t.exe" The myStream and path to t.exe are optional The default stream name will be MeditechNUI So you could connect at will later using: Connect "MeditechNUI", stStream I've done things where I've supported allowing multiple instances of Meditech to be launched / connected to in this manner but don't want to make this email longer than it needs to be right now - let me know if you want this information. For your scripts that connect to these running instances, you want to test to see if the connection (stream name) was available using Active - either in command form: If not Active("MyStream") then Connect "",stMeditech,"MyStream" End if Or have a rule testing against the Not Active condition. Hope this helps! Regards, Thom Thom C. Blackwell Product Manager Boston Software Systems (866) 653-5105 ex 807 www.bossoft.com 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. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zimmerman, Scott Sent: Monday, October 09, 2006 11:30 AM To: BostonWorkstation Talk (E-mail) Subject: [Talk] UMass Meditech Magic stream issue Hello all, Does anyone know of a way to connect to an already active Meditech session in order to begin using bostonworkstation to execute following functions? Whenever I use the "Connect" code it always wants to open a new session. Finally, I guess it would need to also "disconnect" when function is complete. thank you, Scott Zimmerman Laboratory Information Systems Analyst UMass Memorial Medical Center Department of Hospital Labs Office: 508-334-7237 Page: 508-426-2178 (mailto:[EMAIL PROTECTED]) <html><body><i>The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, transmission, re-transmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.</i></body></html> <html><body><i>The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, transmission, re-transmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.</i></body></html>
