DevaV
12 years agoContributor
Script run in WINXP but not in WIN7
Hi,
We have a code in line that reads a text from the help page of the application. It works fine with WINXP but in WIN7 it throws script error (attached image of the error).
The same codes are used in winxp and win7. At last line of the code the specified error comes and script gets paused.
Please help out on this situation.
We have a code in line that reads a text from the help page of the application. It works fine with WINXP but in WIN7 it throws script error (attached image of the error).
var wndHelpPage = Sys.Process("explorer").WaitWindow("HH Parent", "M-Files Help", 1,3000);
var panelHelp = wndHelpPage.Window("HH Child", "", 1).Window("Shell Embedding", "", 1).Window("Shell DocObject View", "", 1);
var textContent = panelHelp.Window("Internet Explorer_Server", "", 1).Page("*").TextNode(0).innerText;
The same codes are used in winxp and win7. At last line of the code the specified error comes and script gets paused.
Please help out on this situation.