Solved
Forum Discussion
electroisok
12 years agoOccasional Contributor
I tried that, but only works to return the objects from the method FindAllChildren, but then doesn't works to iterate inside the items of these object. I have this code
function GetContextMenuStrip()
{
var propertyNames = new Array ("FullName");
var propertyValues = new Array("*ContextMenuStrip*");
var objects = Sys.Process("XXXXXXXX").FindAllChildren(propertyNames, propertyValues, 100, true); (WHERE XXXXXX is the name of the process of my application)
objects = (new VBArray(objects)).toArray();
var object = objects[0]; (IT WORKS UP TP THIS LINE)
var array = (new VBArray(object.items())).toArray(); (IN THIS LINE FAILS)
var a = array[0];
}
The error is the showed in the image.
Related Content
- 5 years agounderqualified
- 3 years agogoogleid_114550
Recent Discussions
- 18 hours agotramuntana
- 3 days agoSlickRick