SuperTester
5 years agoContributor
Find child - comSafe Array
Hello,
I'm using the wnd caption with a find child statement to find a window in our software. The Find Child statement is returning the window as a comSafeArray object. I'm confused about this result. Properties of the object are now part of elements of the window. Is there an issue with how I used the findChild statement?
var property = "WndCaption"
var objWnd = ritSysObj.FindAllChildren(property,strCaption,3)
Log.Picture(objWnd)
Thanks in advance!
Can you please try once with Find instead of FindAllChildren
var objWnd = ritSysObj.Find(property,strCaption,3)
Please let me know whether that works.