najes
7 years agoOccasional Contributor
passing variables on FindChild
Is it possible to pass variables on FindChild methods?
For example (in Jscript):
var parent = Aliases.Program.MainWindow; var child = new Array(100); for(var i =0; i<100; i++) { child[i] = parent.FindChild( ["WndClass", "Index"], ["Button", i], 2, true); }
Been trying to get the state of each object child[i].wState, but it seems like it always fail to get the object.