Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
WINBATCH.EXE HAS GENERATED ERRORS AND WILL BE CLOSED BY WINDOWS. AN ERROR LOG IS BEING CREATED.
I do not know where to look for the error log.
I have been experiencing problems running this script since yesterday. I honestly think that I hosed something up when I manually terminated the script.
The script is using TEXTRACT to screen scrape from a window driven by Java. I am using ObjectOpen to open TEXTRACT. The script was at the point of doing a screen scrape using a loop. I realized that I had something incorrect and that I would not exit the loop,so I manually terminated the script. There has been funky stuff happening since then.
Any guidance would be appreciated. Thanks.
rc = Txtr.ReadScreen(200,600,750,750)
Althought I tested the following code on my XP system and was unable to get it to GPF (Crash).
BoxOpen("ReadSCreen - Hold Shift Key Down to Exit Script","") Txtr = ObjectOpen("TxtrCtl.TxtrCtl") rc = Txtr.Init While @True if iskeydown(@Shift) ObjectClose(Txtr) exit endif rc = Txtr.ReadScreen(0,0,750,750) scrnprnt = Txtr.Text BoxText(scrnprnt) Timedelay(0.5) EndWhile ObjectClose(Txtr)What happens if you run the attached code?
Simply, I made several programming errors.
What I think happened is that I used up some type of memory. So I went back to the documentation for TEXTRACT and noticed that there is a TERM command that frees up resources.
I modified my test by doing the following each time that I executed the loop:
ObjectOpen for Textract The Textract INIT command The Textract READSCREEN command The Textract TERM command ObjectClose for TextractThe test ran no problems. So I modified the original script that I was having a problem with and made the following changes:
Article ID: W16074
File Created: 2004:03:30:15:42:44
Last Updated: 2004:03:30:15:42:44