Thanks Rich and Corina!

Yes, I was reading up on Activate, and was confusing it and Active.

I did warn that I was brain-dead…

 

TKs

Lew

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Rich McNeil
Sent:
Tuesday, February 17, 2004 6:52 AM
To: [EMAIL PROTECTED]
Subject: RE: [Talk] I may be brain dead, or this is a legit question...

 

Lew,

 

Active("meditechnui") returns True if MeditechNUI is available.  It doesn't change focus (perhaps you're thinking of the Activate command???)

 

Rich McNeil

Boston Software Systems

866 653 5105

www.bostonworkstation.com

 

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lew Hundley
Sent:
Monday, February 16, 2004 6:14 PM
To: [EMAIL PROTECTED]
Subject: [Talk] I may be brain dead, or this is a legit question...

All,

 

I am writing a script that I want to start when a certain Meditech module is being run. And, because we are using NUI, I need to ensure that MeditechNUIServer is already running. I plan on having the user start using a desktop icon that is the MeditechNUIServer, but, you know how users like to circumvent rules!

 

Anyway, I want to check if MeditechNUIServer is running, then check to see if one of the module screen is up and running.

 

The way I know of to check for a stream is using Active and Not Active. But the Active command sets the focus to what you are checking. If the poor user is logging in or traversing a menu, then the focus shifts to MeditechNUIServer and the user’s screen no longer has focus.

 

Is there a way to check for MeditechNUIServer without it having, or giving it focus?

 

I can, if I must, skip the test for MeditechNUIServer, and go right to testing for the module screen, but then my script has the chance to not work.

 

Any suggestions?

TKs

Lew Hundley
Information Specialist - Programmer
Silverton Hospital
Silverton
Oregon
503.873.1657
[EMAIL PROTECTED]

 

DISCLAIMER:
This message, including any attachments, is intended for the sole use of the individual to whom it is addressed, 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.

Reply via email to