| || |
What is Context Sensitive Errors in WR?
While running a scripts in Batch mode, I am getting a context sensitive errors.
Lets assume Script is opening a sub browser window after clicking on link. Then I am using Set_Window("Sub Window")....Here I am getting Context sensitive error and script struct here.
What is Context sensitive errors?
IS there any way to remove these errors?
Re: What is Context Sensitive Errors in WR?
Context sensitive error simply indicates that a context sensitive function has returned an error. Without knowing what the specific error code is, I cannot really guess what your specific problem is. You can trap the error number with something like:
</font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">rc = set_window("Sub Window", 5);
if(rc != E_OK)
report_msg("set_window() returned error " & rc);
if(getvar("runmode" == "debug"
pause("set_window() returned error " & rc);
}</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">
[i]...Sound trumpets! Every trumpet in the host! / Sixty thousand, on these words, sound, so high the mountains sound, and the valleys resound.</i] (The Song of Roland)