• 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
Re: Script Printing with MS Word?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script Printing with MS Word?


  • Subject: Re: Script Printing with MS Word?
  • From: Michael Sullivan <email@hidden>
  • Date: Tue, 18 Feb 2003 09:33:56 -0800

tell application "Microsoft Word"
do Visual Basic "ActiveDocument.Printout"
end tell

Thanks! I was actually playing with this Friday night. Unfortunately,
it causes Word to crash. Here is the Event Log output:

tell application "Microsoft Word"
do Visual Basic "ActiveDocument.PrintOut"
current application
"Microsoft Word got an error: Connection is invalid."

Maybe it's an OS X / Word X thing... Does the above script work for
anybody on Word X and OS X (I'm running 10.2.4)?
--
Michael Sullivan email@hidden
Aelix, Inc. (818)678-1033
9255 Corbin Ave. (818)678-4726 (fax)
Northridge, CA 91324-2401 www.aelix.com


_______________________________
Scanned and protected by Inflex _______________________________________________
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.
  • Follow-Ups:
    • Re: Script Printing with MS Word?
      • From: David Glass <email@hidden>
References: 
 >Re: Script Printing with MS Word? (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Newbie Question: Script Objects (2)
  • Next by Date: Re: 'sh: ping: command not found' error
  • Previous by thread: Re: Script Printing with MS Word?
  • Next by thread: Re: Script Printing with MS Word?
  • Index(es):
    • Date
    • Thread