• 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
Saving Microsoft Word as PDF
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
email@hidden

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

iChat email@hidden


 _______________________________________________
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

  • Follow-Ups:
    • Re: Saving Microsoft Word as PDF
      • From: Joe <email@hidden>
  • Prev by Date: Re: Safari Download Folder?
  • Next by Date: Re: Safari Download Folder?
  • Previous by thread: Re: Safari Download Folder?
  • Next by thread: Re: Saving Microsoft Word as PDF
  • Index(es):
    • Date
    • Thread