Forum Discussion
appunu
16 years agoOccasional Contributor
Hi David,
I worked last night and could able to find the text in the listcontrols using the TextObject calls. The only thing am stuck up with is the tree structure. I cant able to find the symbol using the TextObject, i know Obviously it wont find. Is there any thing i can do to press that button without using the co-ordinates ?
Sys.Process("XXX", 2).Window("wxWindowClass", "XXX", 1).Window("wxWindowClassNR", "panel", 1).Window("_wx_SysTabCtl32", "", 1).Window("wxWindowClassNR", "Workbench", 3).Window("wxWindowClassNR", "WorkbenchSplitterWindow", 1).Window("wxWindowClassNR", "WorkbenchSplitterWindow", 2).Window("wxWindowClass", "WorkbenchPanel", 1).Window("wxWindowClassNR", "panel", 1).Window("wxWindowClassNR", "panel", 1).Window("wxWindowClassNR", "ListCtrl", 1).TextObject("sample", 3).DblClick()
And one more thing ,the auto code complete option is not coming some times , may i know that why? Eg : in the above script after TextObject("sample", 3) when i use a period , sometimes the autofill comes and sometimes it doesnt. Thanx in advance :)
I worked last night and could able to find the text in the listcontrols using the TextObject calls. The only thing am stuck up with is the tree structure. I cant able to find the symbol using the TextObject, i know Obviously it wont find. Is there any thing i can do to press that button without using the co-ordinates ?
Sys.Process("XXX", 2).Window("wxWindowClass", "XXX", 1).Window("wxWindowClassNR", "panel", 1).Window("_wx_SysTabCtl32", "", 1).Window("wxWindowClassNR", "Workbench", 3).Window("wxWindowClassNR", "WorkbenchSplitterWindow", 1).Window("wxWindowClassNR", "WorkbenchSplitterWindow", 2).Window("wxWindowClass", "WorkbenchPanel", 1).Window("wxWindowClassNR", "panel", 1).Window("wxWindowClassNR", "panel", 1).Window("wxWindowClassNR", "ListCtrl", 1).TextObject("sample", 3).DblClick()
And one more thing ,the auto code complete option is not coming some times , may i know that why? Eg : in the above script after TextObject("sample", 3) when i use a period , sometimes the autofill comes and sometimes it doesnt. Thanx in advance :)