Oferv
14 years agoSuper Contributor
Why I'm unable to click a control?
Hi,
i have this control:
Aliases["FusionDesktop"]["HwndSource_MainWindow"]["MainWindow"]["Grid"]["TabControl"]["Grid"]["ContentPanel"]["PART_SelectedContentHost"]["AssemblyViewTabControl"]["Grid"]["Grid1"]["UserControl"]["ScrollableTabControlScreen"]["DockPanel"]["ContentControl"]["DocumentViewer"]["m_thumbnails"]["ListBoxItem"]
but when trying to click it using:
Aliases["FusionDesktop"]["HwndSource_MainWindow"]["MainWindow"]["Grid"]["TabControl"]["Grid"]["ContentPanel"]["PART_SelectedContentHost"]["AssemblyViewTabControl"]["Grid"]["Grid1"]["UserControl"]["ScrollableTabControlScreen"]["DockPanel"]["ContentControl"]["DocumentViewer"]["m_thumbnails"]["ListBoxItem","",1]["Click"]
the script says,during playback,that it's waiting for 1(the 1 i bold above).
if you'll take a look at the screenshot you'll see that Click() is along the object's method i can use since it's on the list but,somehow TC is unable to click it.
more then that,when standing on the object browser on the ["ListBoxItem"] object you'll see that it show as ["ListBoxItem","",INDEX] but,when typing this text in the script it doesn't recognize that.
pls see attached file.
why is that??and how can i click this object by its index?
Thanks
i have this control:
Aliases["FusionDesktop"]["HwndSource_MainWindow"]["MainWindow"]["Grid"]["TabControl"]["Grid"]["ContentPanel"]["PART_SelectedContentHost"]["AssemblyViewTabControl"]["Grid"]["Grid1"]["UserControl"]["ScrollableTabControlScreen"]["DockPanel"]["ContentControl"]["DocumentViewer"]["m_thumbnails"]["ListBoxItem"]
but when trying to click it using:
Aliases["FusionDesktop"]["HwndSource_MainWindow"]["MainWindow"]["Grid"]["TabControl"]["Grid"]["ContentPanel"]["PART_SelectedContentHost"]["AssemblyViewTabControl"]["Grid"]["Grid1"]["UserControl"]["ScrollableTabControlScreen"]["DockPanel"]["ContentControl"]["DocumentViewer"]["m_thumbnails"]["ListBoxItem","",1]["Click"]
the script says,during playback,that it's waiting for 1(the 1 i bold above).
if you'll take a look at the screenshot you'll see that Click() is along the object's method i can use since it's on the list but,somehow TC is unable to click it.
more then that,when standing on the object browser on the ["ListBoxItem"] object you'll see that it show as ["ListBoxItem","",INDEX] but,when typing this text in the script it doesn't recognize that.
pls see attached file.
why is that??and how can i click this object by its index?
Thanks