Forum Discussion
agareev
13 years agoNew Contributor
Hi Alex,
Please pass to Dev team the following code snippets.
1:
PropNames = Array("processname", "index")
PropValues = Array("iexplore", 1)
Set IEProcess = Sys.FindChild(PropNames, PropValues, 1, True)
2:
PropNames = Array("processname", "index")
PropValues = Array("iexplore", 1)
Set IEProcess = Sys.FindChild(PropNames, PropValues, 100, True)
They both used to be working instantly.
Now (2) takes a few minutes.
It seems like in TC9 the search algorithm keeps looping through the processes and children even when the matching object has been found. Break the loop!
Thanks,
Albert
Please pass to Dev team the following code snippets.
1:
PropNames = Array("processname", "index")
PropValues = Array("iexplore", 1)
Set IEProcess = Sys.FindChild(PropNames, PropValues, 1, True)
2:
PropNames = Array("processname", "index")
PropValues = Array("iexplore", 1)
Set IEProcess = Sys.FindChild(PropNames, PropValues, 100, True)
They both used to be working instantly.
Now (2) takes a few minutes.
It seems like in TC9 the search algorithm keeps looping through the processes and children even when the matching object has been found. Break the loop!
Thanks,
Albert
Related Content
- 3 years ago
Recent Discussions
- 2 days ago