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

Save as PDF File for Microsoft Word


  • Subject: Save as PDF File for Microsoft Word
  • From: Peter Baxter <email@hidden>
  • Date: Wed, 04 Mar 2009 15:08:04 +1100

It looks as if it may finally be possible to save Microsoft word files as PDF files without complicated UI instructions.  The following script does not work, however all the language is accepted by Word.  Can anyone help me complete the task?

tell application "Microsoft Word"
set product to make new document
set myText to "Hello, I love you, could you tell me your name?"
insert text myText at the end of text object of active document
save product as "test3.pdf" in 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: Save as PDF File for Microsoft Word
      • From: Joe <email@hidden>
  • Prev by Date: Re: Downloading Images/Message Attachments
  • Next by Date: Re: Downloading Images/Message Attachments
  • Previous by thread: Re: Downloading Images/Message Attachments
  • Next by thread: Re: Save as PDF File for Microsoft Word
  • Index(es):
    • Date
    • Thread