Convert Word Document to HTML with WebOptions

Can anyone assist me with writing an AppleScript to save a Word document to HTML with “allow png” set in Web Options?

Thanks!

Hi drewbyty,

I am (seldomly) using Microsoft Word 2004 and this sample code works on my Mac:


tell application "Microsoft Word"
	if (exists document 1) then
		set allow png of (web options of document 1) to true
		save as document 1 file name "Macintosh HD:Users:martin:Desktop:Test.html" file format format HTML
	end if
end tell

I guess you will be most interested in this free PDF document :smiley: