tommytx
12-15-2003, 08:55 PM
Is there a way to save a window to file using javascript.
I am using javascript on my desktop to load different pages from the web into a window that I am controlling by remote javascript.
The data is being sent to the window via asp files on the web and the files do not even show up as htm or asp in the windows temp file otherwise I could get them there.
I can click file/select all/copy and save to a file.
However I want to automate it. I guess I could write a wsh to do the saving but I hope there is some way to do it in javascript.
The remote control works great to present the data in the window. what I need is a command such as:
mywin.document.save.mywin
Updated change to original:
Actually to be more precise, I don't want to capture the window contents, I simply want to save the file that is loaded into the window.(Also I only need the text part as I don't need the graphics) . The file does not show up in the windows temp internet file at all. If it showed there, I could copy it there.
Can anyone help.
Thanks
tom
I am using javascript on my desktop to load different pages from the web into a window that I am controlling by remote javascript.
The data is being sent to the window via asp files on the web and the files do not even show up as htm or asp in the windows temp file otherwise I could get them there.
I can click file/select all/copy and save to a file.
However I want to automate it. I guess I could write a wsh to do the saving but I hope there is some way to do it in javascript.
The remote control works great to present the data in the window. what I need is a command such as:
mywin.document.save.mywin
Updated change to original:
Actually to be more precise, I don't want to capture the window contents, I simply want to save the file that is loaded into the window.(Also I only need the text part as I don't need the graphics) . The file does not show up in the windows temp internet file at all. If it showed there, I could copy it there.
Can anyone help.
Thanks
tom