• 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
word.. print.. pdf
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

word.. print.. pdf


  • Subject: word.. print.. pdf
  • From: Wayne Melrose <email@hidden>
  • Date: Fri, 11 Nov 2005 18:39:40 +0100

Sigh...

Still no luck with printing to PDF from word..

I'm using Office X and can't seem to get any syntax to work that I have found on the web..

The closest I have found (I think) is ..


tell application "Microsoft Word"
print out active document output file name ""wayne:Users:waynemelrose:Desktop:Wordf.pdf"" with print to file
end tell



Although this does not compile either..

Then, I had no idea that VB scripts could be used in applescript.. so I found pieces which I put together, and came up with this..

tell application "Microsoft Word"
tell front document
do Visual Basic "ActivePrinter = \"Postscriptfile on \"wayne:Users:waynemelrose:Desktop:prints:\"
ActiveDocument.PrintOut "
end tell
end tell



which also does not work..

I don't know if this is a version problem, an OS problem, or more than likely.. A user problem.. :)

Anyone!! ?   please.. and thanks all at once..

Wayne..


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Re: Who has that property?
  • Next by Date: Re: robust handling of return values
  • Previous by thread: Re: Text pasted into dialog box
  • Next by thread: 10.4.3 changed what?
  • Index(es):
    • Date
    • Thread