changing suffix/saving in Word
changing suffix/saving in Word
- Subject: changing suffix/saving in Word
- From: Jason Davies <email@hidden>
- Date: Sat, 17 Aug 2002 15:57:18 +0100
I wrote a droplet that takes a word doc file and converst it to MS html (which will do for my purposes)
on open thefile
tell application "Microsoft Word"
open thefile
save window 1 as web page
close window 1
end tell
end open
The only catch is that I need the suffix to be '.html' not '.doc' as this leaves it. Recording Word gave me some impressive
looking Visual basic which I tried, and failed tow ork with. I also failed to persuade the Finder to change it. Can anyone
advise on how to do this? (For the record I tried working with variables as per archive messages, like 'set theTitle to name
of thefile & ".html" but that choked too...)
Plus the file that results will be sent to Isilo to be converted and installed on the Palm. But my attempts to get Isilo to open
a file have failed miserably. If anyone is scripting Isilo I would appreciate help on getting the file that results from teh above
droplet to go straight there!
Many TIA.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.