KeithTrangmar
Programmer
I hope this is the right forum to ask in.
I'm using a JS-based script under the Windows Scripting Host to run a series of processes. One of them has started failing occasionally, and as I don't have any error handling yet built into my script, the whole thing just dies at that point. I want to be able to take some appropriate action & recover gracefully.
In the context of a web page I've just used a function called "onerror" in the past, but this doesn't appear to have any effect in this environment. I'm sure there must be a way of doing it, but half an hour digging through MSDN yielded nothing helpful.
Any suggestions, please?
Keith Trangmar
Harlend Computer Services
Maidstone, Kent. UK.
I'm using a JS-based script under the Windows Scripting Host to run a series of processes. One of them has started failing occasionally, and as I don't have any error handling yet built into my script, the whole thing just dies at that point. I want to be able to take some appropriate action & recover gracefully.
In the context of a web page I've just used a function called "onerror" in the past, but this doesn't appear to have any effect in this environment. I'm sure there must be a way of doing it, but half an hour digging through MSDN yielded nothing helpful.
Any suggestions, please?
Keith Trangmar
Harlend Computer Services
Maidstone, Kent. UK.