You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hello,
is there a script to save the content of a web page to disk? something in the way of a print() to print the current window!
Thanks
Joe Fawcett
unread,
Nov 22, 2001, 6:39:04 AM11/22/01
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
"Youss" <ybenh...@ihs-es.be> wrote in message news:Ou560D0cBHA.2128@tkmsftngp03...
Should be able to do this: window.document.execCommand("SaveAs");
Joe
Dan
unread,
Nov 22, 2001, 8:40:58 AM11/22/01
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Well, window.print() works for printing the current window page, or document.execCommand('Print'), for saving, document.execCommand('SaveAs',false,'SOMEFILENAME.SOMEEXTENSION'), where SOMEEXTENSION would usually take a .htm or .html or .txt, it will popup the Save As browser window to the user with the filename already set and the correct file type selected.
Dan
"Youss" <ybenh...@ihs-es.be> wrote in message news:Ou560D0cBHA.2128@tkmsftngp03...