Forum Discussion
AlexeyKryuchkov
12 years agoStaff
Hi uday,
Here's an example:
Here's an example:
function test()
{
var page = Sys.Process("iexplore").Page("*");
Log.Message(getLinksCount(page));
}
function getLinksCount(page)
{
var links = page.FindAllChildren("ObjectType", "Link", 9000);
links = (new VBArray(links)).toArray();
var linkscount = 0;
linkscount = links.length;
return linkscount;
}
Related Content
- 6 months agomacheshmeh
- 9 months agoenschim
Recent Discussions
- 12 hours agosimonaferrara
- 21 hours agoSubhraDas