If it's a standard control, we either get that information from the control itself, or through MSAA. You might check the MSAA state property for the selected item, and see what that gives you.

Aaron


On 9/24/2012 6:47 AM, RicksPlace wrote:
Hi:
I am building a script in native VBScript and using a Multi-Select ListBox. It works fine except WE will not tell me which items are selected or not selected, it just reads the items in the list. Do you know if WE uses some color scheme or what to identify when a HTML option has been selected or not? This is also a problem in some of my existing applications I tried to use with apps from Microsoft when trying to do some UIA development and analysis so It would be a good thing to know for scripting these applications as well. In other words, how does WE know to say "selected" or "not selected" when reading through the options of a multi-select list.
Thanks:
Rick USA

--
Aaron Smith
Web Development * App Development * Product Support Specialist
GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * gwmicro.com

To insure that you receive proper support, please include all past
correspondence (where applicable), and any relevant information
pertinent to your situation when submitting a problem report to the GW
Micro Technical Support Team.

Reply via email to