Scripting MS Word "Save As"
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.