I handle this in my procedure scripts by placing a Stable 0.25 command 
immediately after the data/option I'm keying/entering.  Then I read the error 
line (view(, , 24, 1, 80, True)) and check if it's stating and Error.  You can 
read the line into a variable so that you can then log the error message given. 
 The Stable 0.25 makes sure the cursor is stable for .25 seconds before 
continuing, which is generally enough time to allow the Error message to pop up 
but not too much time that it will have gone away.

So ...

Enter "My Data"
Stable 0.25
errorLineText = View(, , 24, 1, 80, True)
If errorLineText like "*Error*" then
                ' Handle Error
End If


Ryan Rush
OBS Development Specialist
Providence Health & Services
Oregon RIS - Development
1235 NE 47th Ave #110
Portland, OR 97213
t: 503.215.4441
f: 503.215.4343
p: 503.604.6935
[email protected]<mailto:[email protected]>




From: [email protected] [mailto:[email protected]]
Sent: Tuesday, March 23, 2010 3:26 PM
To: [email protected]
Subject: RE: [talkbws] HBOWem message flicker


It is procedure based, and I am trying to do both.  I need to take action when 
and if it shows up, and I also need to log the error.  Currently, I am trying 
to grab it with the View command.

^^^^^^^^^^^^^^^^^^^^^^^
James Walker
Systems Analyst
St Marys Health System
Knoxville, TN
Ph      (865)545-7731
Fax    (865)545-3007
^^^^^^^^^^^^^^^^^^^^^^^

[email protected]

03/23/2010 05:34 PM
Please respond to
[email protected]


To

[email protected]

cc

Subject

RE: [talkbws] HBOWem message flicker







Greetings,
Yes I do :) but have some questions first.

You trying to grab it with a View command for storage?
Or does your script need to take a particular action if a particular message 
appears?
Is this a Rules based script?
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: Tuesday, March 23, 2010 5:05 PM
To: Talk
Subject: [talkbws] HBOWem message flicker


I'm wondering if anybody has a tip on capturing an HBOWem status flicker in 
Star using BWS.  I've tried several times to capture the line, but it seems to 
always be a blank line.  The status will only stay there for about a half to 1 
second so I think timing may be an issue.

^^^^^^^^^^^^^^^^^^^^^^^
James Walker
Systems Analyst
St Marys Health System
Knoxville, TN
Ph      (865)545-7731
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_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   
<http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.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

________________________________
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   

Reply via email to