• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Saving as HTML in Word 2001
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Saving as HTML in Word 2001


  • Subject: Saving as HTML in Word 2001
  • From: Zachary Mutrux <email@hidden>
  • Date: Mon, 02 Apr 2001 15:53:15 -0700

Hi, All:

I have a handy little script that I rely heavily on--it batch converts
Microsoft Word documents to HTML, using the "save as HTML" option in Word.
It has worked great for me in Office 98, but since I upgraded to Office
2001, it doesn't work any more. This is the script:


on open fileList
with timeout of 300 seconds
tell application "Microsoft Word"
repeat with dataFile in (fileList as list)
set fullPath to (dataFile as text)
open file fullPath
set theName to name of window 1
if (count of theName) > 25 then
set fullPath to (text 1 thru (24 - (count of theName))
of fullPath) & "=8A"
end if
save document 1 in file (fullPath & ".html") as "Web Page"
close document 1 saving no
end repeat
end tell
end timeout
end open


It may not be exactly as it was when it worked in Word 98--I've been
fiddling with line 9 in an attempt to get it to work.

If anyone can offer a suggestion, I would really appreciate it.

Thanks,

Zac Mutrux

--
Zachary Mutrux : SeaChange
415-291-9900, ext. 11


  • Follow-Ups:
    • Re: Saving as HTML in Word 2001
      • From: g3pb <email@hidden>
  • Prev by Date: Testing for running app?
  • Next by Date: Variable
  • Previous by thread: saving as HTML in Word 2001
  • Next by thread: Re: Saving as HTML in Word 2001
  • Index(es):
    • Date
    • Thread