Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GetChildObjects in LA
#4
Thanks for your example. The functionality I need seems to already exist, it's included in the FindAll menu item in the action menu.
The following code is generated automatically by LA, but it only retrieves the text of the last entry. What am I missing?
https://i.ibb.co/stf1xrB/zzz.png

Code:
Copy      Help
var w = wnd.find(1, "*- Google Chrome", "Chrome_WidgetWin_1").Activate();
var rows = w.Elm["web:GROUPING", "Today", navig: "ne"].FindAll();
for (int ir = 0; ir < rows.Length; ir++) {
    var a = rows[ir].Elm[prop: "level=0"].FindAll(); 
    print.it(a[2].Elm["LINK"].Find(0).Name); 
}


Messages In This Thread
GetChildObjects in LA - by Davider - 03-04-2024, 09:24 PM
RE: GetChildObjects in LA - by Davider - 03-05-2024, 03:31 AM
RE: GetChildObjects in LA - by Gintaras - 03-05-2024, 05:18 AM
RE: GetChildObjects in LA - by Davider - 03-05-2024, 08:37 AM
RE: GetChildObjects in LA - by Gintaras - 03-05-2024, 09:11 AM
RE: GetChildObjects in LA - by Davider - 03-05-2024, 09:55 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)