Greetings,

If you hear about another way to do this please let folks know!

 

But no need to do anything outside of BWS -  the below can handle the
dialog:

Here I am launching a Session named "Default"

 

Sub StartSTAR()

Shell "C:\HBOC32\Hbowem32.exe Default", vbNormalFocus

Shell_ "C:\Bss70\HBOWEMServer.exe Default"

Connect "Default", stStream

Activate "HBO", True

If IsWindowEx("Launching HBOWEM") Then

    SmartDialog("Launching HBOWEM", "Yes<Push button>").Click

End If

 

End Sub

 

Regards,

Thom

 

 

Thom C. Blackwell

Product Manager

Boston Software Systems

(866) 653-5105 ex 807

www.bossoft.com <http://www.bossoft.com/> 

 

Sign up for my weekly webinar!
<http://www.bostonworkstation.com/customer_center/special_events.aspx> 

 

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]] 
Sent: Thursday, August 26, 2010 12:58 PM
To: Talk
Subject: RE: [talkbws] Star multiple instance suppression

 


You are correct, simultaneous sessions.  I suppose we could create a
winbatch script that looks for the prompt, or even a com script, and
clicks yes, but I haven't been able to find a way to suppress that.  I
guess I could open a McKesson support call and see if there's a way. 

^^^^^^^^^^^^^^^^^^^^^^^
James Walker
Systems Analyst
Mercy Medical Center
Knoxville, TN
Ph      (865)545-8289
Fax    (865)545-3007
^^^^^^^^^^^^^^^^^^^^^^^ 



[email protected] 

08/26/2010 10:50 AM 

Please respond to
[email protected]

To

[email protected] 

cc

        
Subject

RE: [talkbws] Star multiple instance suppression

 

                




I'm assuming you're talking about having two HBOWEM windows open and
running at the same time, each with a different session (versus just
connecting to an already open instance that's no longer being used).  I
don't know of anyway to get around the "Another Session" prompt.  It's
built in and I've never been able to find a setting/switch to turn it
off.  There may be ways to code for it by using the SmartDialog
functionality, though I've never tried it.  It would take some work to
get which session is already open to make sure you're opening a
different session and to look for the "Another Session" prompt.  But,
seems like you could do it.  Sorry I don't have any code examples for
you. 
  
  
From: [email protected] [mailto:[email protected]] 
Sent: Wednesday, August 25, 2010 2:31 PM
To: [email protected]
Subject: [talkbws] Star multiple instance suppression 
  

Wondering if anybody knows how to suppress HBOWEM from asking if you
want to start another instance of the Star session?  This is preventing
true automation of the scripts and  I don't see anything in help files
or usegroup archives. 


^^^^^^^^^^^^^^^^^^^^^^^
James Walker
Systems Analyst
Mercy Medical Center
Knoxville, TN
Ph      (865)545-8289
Fax    (865)545-3007
^^^^^^^^^^^^^^^^^^^^^^^


CONFIDENTIALITY NOTICE:  This message, including any attachments, is for

the sole use of the intended recipient(s) and may contain confidential
and 
privileged information.  Any unauthorized review, use, disclosure 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. 
---  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
<http://www.bostonworkstation.com/customer_center/virtual_user_group_tal
k.aspx> 

________________________________

This message is intended for the sole use of the addressee, and may
contain information that is privileged, confidential and exempt from
disclosure under applicable law. If you are not the addressee you are
hereby notified that you may not use, copy, disclose, or distribute to
anyone the message or any information contained in the message. If you
have received this message in error, please immediately advise the
sender by reply email and delete this message.

---  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
<http://www.bostonworkstation.com/customer_center/virtual_user_group_tal
k.aspx> 



CONFIDENTIALITY NOTICE:  This message, including any attachments, is for

the sole use of the intended recipient(s) and may contain confidential
and 
privileged information.  Any unauthorized review, use, disclosure 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. 

---  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   

Reply via email to