Re: Script Printing with MS Word?
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.