Jump to content

UIAWrappers::_UIA_getObjectByFindAll partial title match


Recommended Posts

I am parsing the rows of a tree control, but the parent window's title is variable along the lines of

Local $oP4=_UIA_getObjectByFindAll($oP5, "Title:=List: Items (1);controltype:=UIA_PaneControlTypeId;class:=WindowsForms10.Window.8.app.0.13f082a_r27_ad1", $treescope_children)

the (1) may be anything, I was hoping I could partial match with "Title:=List: Items" but this does not work

Is there a way to get an object based on a partial title match?

Thank you

Link to comment
Share on other sites

This is getting me closer and I will continue to investigate, at this point the wrong object is getting selected
The selection I am using is Title:=Orders: Path/Lab (.*)
The object getting selected has a title of "Deferred Orders: Path/Lab (0)"
The object I am looking for has a title of "Orders: Path/Lab(1)" in this case, but 1 could be any number

If I try this regedit, nothing is found

"Title:=/^Orders: Path/Lab&/ (.*;

Thank you for your help

Edited by HudsonKane
more information
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...