Saving Microsoft Word as PDF
Saving Microsoft Word as PDF
- Subject: Saving Microsoft Word as PDF
- From: Peter Baxter <email@hidden>
- Date: Thu, 05 Mar 2009 08:23:05 +1100
Continuing my script, The following script does the job. However, I need to persuade the script to save in a given location. Each time I try to specify the location, I get an inability of the script to understand the instruction. I could move the resulting file after creating it, however that would slow down the script. How do I specify the save location as well as save as PDF?
tell application "Microsoft Word" set SourceDoc to (choose file) open SourceDoc set myText to "" insert text myText at the end of text object of active document save as active document file name "Document2.pdf" file format format PDF end tell
Peter Baxter
Music creates order out of chaos: for rhythm imposes unanimity upon the divergent, melody imposes continuity upon the disjointed, and harmony imposes compatibility upon the incongruous.
-- Yehudi Menuhin
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden