![]() Loading |
| VBScript |
| JavaScript |
| Powershell |
Search Options: Save Data to an HTML File
|
||
|
' Description: Sample HTML function that saves the data found in a SPAN named DataArea to a text file named test.htm.
Sub RunScript Set objFSO = CreateObject("Scripting.FileSystemObject") objFSO.CreateTextFile("test.htm") Set objFile = objFSO.OpenTextFile("test.htm", 2) objFile.WriteLine DataArea.InnerHTML objFile.Close End Sub | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: | ||