F
Finius Eetch
I've been using the Print function quite successfully to generate HTML
reports from my project schedule. However, I've just ran into a problem I
don't know how to solve. I have some JavaScript menu code I wrote that I
want to export to the same location as my html report files. Instead of
distributing .JS files with the project schedule, I was simply going to
create the file when the project schedule report feature was ran. I figured
the best way to do this would be to simply 'Print' the same way I was writing
the HTML, but the JS code. Some lines work fine, others give 'ERRORS' cannot
compile when i'm simply typing the text to print out in the line (see below)
Print #HTMLFile, "window.onerror=new Function("return True")"
This line highlights (return) as a cannot compile. Shouldn't it just ignore
everything between the quotes as plain text? That's what I want it to do.
Some of the lines are actually getting modified by the editor as well.
I'm sure there is an option buried somewhere, but there is alot of stuff to
dig through and i"m obviously looking in the wrong place.
Thnx,
Finius
reports from my project schedule. However, I've just ran into a problem I
don't know how to solve. I have some JavaScript menu code I wrote that I
want to export to the same location as my html report files. Instead of
distributing .JS files with the project schedule, I was simply going to
create the file when the project schedule report feature was ran. I figured
the best way to do this would be to simply 'Print' the same way I was writing
the HTML, but the JS code. Some lines work fine, others give 'ERRORS' cannot
compile when i'm simply typing the text to print out in the line (see below)
Print #HTMLFile, "window.onerror=new Function("return True")"
This line highlights (return) as a cannot compile. Shouldn't it just ignore
everything between the quotes as plain text? That's what I want it to do.
Some of the lines are actually getting modified by the editor as well.
I'm sure there is an option buried somewhere, but there is alot of stuff to
dig through and i"m obviously looking in the wrong place.
Thnx,
Finius