11 years ago
How to get index of dynamic WPFObject
Below is the full object name...
Sys.Process("Application1").WPFObject("HwndSource: RootWindow").WPFObject("RootWindow").WPFObject("Grid24").WPFObject("ContainerGrid").WPFObject("rootInstantViewContainer").WPFObject("ContentPresenter", "", 5).WPFObject("RadBusyIndicator", "", 1).WPFObject("Grid23").WPFObject("ContentPresenter", "", 1).WPFObject("NotificationCenterContainer", "", 1).WPFObject("NotificationCenterContainerGrid")
Index numbers which are in bold they are always change, so how to get index value of those WPFObject on run time?
Sys.Process("Application1").WPFObject("HwndSource: RootWindow").WPFObject("RootWindow").WPFObject("Grid24").WPFObject("ContainerGrid").WPFObject("rootInstantViewContainer").WPFObject("ContentPresenter", "", 5).WPFObject("RadBusyIndicator", "", 1).WPFObject("Grid23").WPFObject("ContentPresenter", "", 1).WPFObject("NotificationCenterContainer", "", 1).WPFObject("NotificationCenterContainerGrid")
Index numbers which are in bold they are always change, so how to get index value of those WPFObject on run time?