• 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
Scripting MS Word "Save As"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scripting MS Word "Save As"


  • Subject: Scripting MS Word "Save As"
  • From: Eric Anderson <email@hidden>
  • Date: Fri, 01 Nov 2002 11:16:06 -0500

I have an AppleScript that used to work in OS X 10.1.5, but doesn't work on
OS X 10.2. Here's the relevant code:

tell application "Microsoft Word"

set htmlfilealias to "[An HFS+ folder location ending in:]" & htmlfilename

set filetype to "Text only"

save document 1 in htmlfilealias as filetype

end tell

The problem is that I always get an AppleScript error "Can't make some data
into the expected type."

Any ideas?

TIA!

Eric Anderson
_______________________________________________
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.

  • Follow-Ups:
    • Re: Scripting MS Word "Save As"
      • From: Bill Planey <email@hidden>
  • Prev by Date: Re: Busy Status
  • Next by Date: Re: URL Access Scripting Problem
  • Previous by thread: Re: AppleScript's script size limit
  • Next by thread: Re: Scripting MS Word "Save As"
  • Index(es):
    • Date
    • Thread