Greetings, Is this a dialog box coming from an windows application you are scripting?
Let's say it is from a windows app you are scripting - means you're already connected to the app - and BWS should be seeing the dialog when it appears. First thing you need to do is see about the text in the dialog box - is it showing up in a control or not. The example I saw come across is for a dialog box where the message does show up as a control. Note though, it may not be the same type of control on your application as it is in theirs. Windows is a very wide ranging world - there's all the Microsoft GUI models, Powerbuilder, etc etc. and people can even make their own stuff. I wish the world was as simple as it appears... Good news is, we've seen a lot of this world and can help! Couple of things to try before giving Support a call here. Go into the Advanced Windows Functions - Window List -> refresh (here assuming the dialog is displayed and you are connected to the app) Scan down to see if you see the text you'd want to read. If you do - good, means you can select it in the list, go back, and build a view command - deal with the data etc. If you do not, well means you've got a bit more work to do - and we can help here. Go into Advanced Windows Functions - Textouts Select Start Alt tab to your app and back to this view Stuff should show up - see if your desired text is there. We can assist from here. 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, February 11, 2010 3:22 PM To: Talk Subject: [talkbws] Watching for a Message Box I need to create a script to watch for windows message boxes. Then to either click "OK", "Yes" or "No" depending on what is in the message box. I have not had to create any scripts in the past that interacts with windows applications. Does anyone have an example similar to what I need, I could model. Or a link to an area of the BWS website that may help me? Paul Yagid Women's Health USA 22 Waterville Rd. Avon, CT. 06001 ________________________________ "CONFIDENTIALITY NOTICE: If you have received this e-mail in error, please immediately notify the sender by e-mail at the address shown. This e-mail transmission may contain confidential information. The information is intended only for the use of the individual(s) or entity to whom it is addressed. Any disclosure, distribution, copying or use of the information by others is strictly prohibited. Please delete it from your files if you are not the intended recipient. Thank you for your compliance" --- 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
