• 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
changing suffix/saving in Word
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: getting a file list in sorted order (From: has <email@hidden>)

  • Prev by Date: Re: getting a file list in sorted order
  • Next by Date: Scripting keyboard menu in OSX
  • Previous by thread: Re: getting a file list in sorted order
  • Next by thread: Re: getting a file list in sorted order
  • Index(es):
    • Date
    • Thread