10-31-2012, 10:09 PM
Hi Gintaras,
I am using DotNetControls to get text from an app and it works great if there are label names like this:
but much of the text is in located in lines where the label is empty: "" like this:
When I use the DotNetFindControl it only returns the first one with the "" label.
Is there any way to return them all.
I could probably then text scrape out what I need if they come in an array (i.e. the one that matches a certain RegEx or the one that follows an invariant label, etc).
Thanks for any ideas!
Stuart
I am using DotNetControls to get text from an app and it works great if there are label names like this:
but much of the text is in located in lines where the label is empty: "" like this:
Quote:name="" class="WindowsForms10.STATIC.app.0.3ce0bb8_r15_ad1" text="Site X"
When I use the DotNetFindControl it only returns the first one with the "" label.
int SampleControl= DotNetFindControl(=win("App" "WindowsForms10.Window.8.app.0.3ce0bb8_r15_ad1") "")
str Name.getwintext(SampleControl)
out Name
Is there any way to return them all.
I could probably then text scrape out what I need if they come in an array (i.e. the one that matches a certain RegEx or the one that follows an invariant label, etc).
Thanks for any ideas!
Stuart