Revision 3526,
329 bytes
checked in by afernandes, 14 years ago
(diff) |
Ticket #1416 - Disponibilizado modulos Timesheet e DMS para a comunidade.
|
-
Property svn:executable set to
*
-
Property svn:mime-type set to
text/plain
|
Rev | Line | |
---|
[3526] | 1 | //var logFile = fs.CreateTextFile("convertlog.txt", true); |
---|
| 2 | |
---|
| 3 | var source = WScript.Arguments(0); |
---|
| 4 | var target = WScript.Arguments(1); |
---|
| 5 | |
---|
| 6 | var WordApp; |
---|
| 7 | WordApp = new ActiveXObject("Word.Application"); |
---|
| 8 | var Newdoc; |
---|
| 9 | Newdoc = WordApp.Documents.Open(source); |
---|
| 10 | Newdoc.SaveAs(target, 8); // wdFormatHTML = 8 |
---|
| 11 | WordApp.Quit(); |
---|
| 12 | |
---|
| 13 | |
---|
| 14 | |
---|
| 15 | //logFile.Close(); |
---|
Note: See
TracBrowser
for help on using the repository browser.