Hi, I need to figure out how to make TextPad jump to source from VBScritpt (cscript) error output.
The typical error message look like this:
C:\path\to\file\test.vbs(2, 1) Microsoft VBScript runtime error: Object required: 'WS'
Thanks for any clues,
Alex.
VBScript error matching
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
Ed Orchard
Re: VBScript error matching
Assuming the line of the error is given by the 2 and the column by the 1
the RE:
^\([^(]+\)(\([0-9]+\),[[:space:]]*\([0-9]+\))
should do the trick with File = 1, Line = 2 and col = 3
the RE:
^\([^(]+\)(\([0-9]+\),[[:space:]]*\([0-9]+\))
should do the trick with File = 1, Line = 2 and col = 3