Hello,

I've written a javascript file to parse the lines of log files from another
program and print lines starting with "ERROR" or "WARNING" to the log window. It
works fine but sometimes the log window type is "Memo" (as I want it to be) but
sometimes it's "List". If the log window type is "List" the "view source" (after
right-clicking in the log window) doesn't work. 

Is there a way I can control the log window type? I previously used a perl
script to parse my log files (but switched to Jscript so I can share the script
with co-workers without installing perl). I could set the perl script as
"compiler" in the highligher settings for the log files and specify "Memo" as
log window type and then all went well. Can I specify a script as "compiler"
too?

I also called my perl script from a "Tools" link in the "Tools Panel". That
would also let me specify a LOG Parser and log window type but here again, I
can't figure out how to put a script in a "tools" link.

Advance thanks for any help. I'm using PsPad 4.5.3 (2298) by the way.

-- 
<http://forum.pspad.com/read.php?2,47345,47345>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem