Greetings,

Looks to me like you either highlighted text in the application viewer
window and toggled Title off then back on in the AutoPause toolbar.

Or that's a screen where there is no "text" until Row 12 - and it's a
line or something on the Meditech screen.

 

I also see that you are also looking for the cursor to be an a range of
positions on that screen - on Row 24, starting column 38 which means you
must have highlighted  the current cursor position indicator + some more
area in the application

 

So why would the script hang here?

The asterisks in and of themselves are not a problem, it is a perfectly
valid thing to look for the existence of many asterisks on the screen.
But perhaps they shift up or down on this screen? If so, you can add @
*,* to the Title  condition (or if using current shipping version of BWS
- add a "search range"

 

Or perhaps the cursor is not on the same Row as you're looking -or it
does not fall inside your range? 

 

All conjecture without the screen in front of me.

 

I've always advocated folks pay close attention to what the AutoPause
toolbar has selected because when you build a command - what's in
AutoPause is what is  used to create the Rule's Conditions (or to create
PauseRule commands if not using Rules).  

 

Remember - conditions are the only eyes your script has!

 

In Meditech Magic most of the time, what the AutoPause toolbar picks up
automatically is what you want the script to look for before it performs
a given action. But Most <> Always.

 

A good habit to get into when building a script:

1.       Decide what you want the script to type, put it into the Data
window

2.       Look at the AutoPause toolbar,  decide if the active selections
+ values are good and unique "eyes" for the situation

3.       Build the Rule (or command)

4.       Rinse and repeat

 

Regard,

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: Wednesday, July 21, 2010 12:19 PM
To: Talk
Subject: [talkbws] Script Question

 

I am creating a script that interacts with a Meditech 4.x session.
Sometimes when I am creating the actions in a step, I have asterisks
appear for a title?  See below:

 

 

 

 

That is what is inserted when I'm creating the script, so when I go to
execute the script - it stops on that action.  

 

What causes this, and how do I solve the problem?

 

Thanks for your help.

 

Amy

[email protected] 

 

 

________________________________

CONFIDENTIALITY NOTICE: This e-mail communication and any attachments
may contain confidential and privileged information for the use of the
designated recipient(s) named above. If you are not the intended
recipient, you are hereby notified that you have received this
communication in error and that any review, disclosure, dissemination,
distribution or copying of it or its contents is prohibited. If you have
received this communication in error, please notify the sender at the
electronic mail address noted above and destroy all copies of this
communication and any attachments. Thank you for your cooperation.

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

<<image001.jpg>>

Reply via email to