Hi Matt -
Unless you've not disclosed a specific _need_ to do this programmatically
here are a couple of ideas:
1- Navigate to the folder in a Finder window rather than from within Word,
Command+A to select all, then Control-Click & choose Print from the
contextual menu,
2- Use Printer Setup Utility to create one or more Desktop Printer Icons -
you can create one for your regular printer, one for PDFs, etc. - select
your docs in Finder & drag 'em to the icon.
HTH |:>)
Bob Jones
[MVP] Office:Mac
On 5/26/07 1:21 AM, in article
1180156909.540106.303050@p77g2000hsh.googlegroups.com, "Othermatt"
<smithmj@mac.com> wrote:
>> Does anybody know how to batch print a folder full of Word docs
>> without negotiating that confounding print dialog box?
[quoted text clipped - 18 lines]
> It's not quite the elegant solution I am seeking, though. I was
> hoping to drag and drop onto a droplet.
Othermatt - 27 May 2007 14:51 GMT
> Hi Matt -
>
[quoted text clipped - 39 lines]
> > It's not quite the elegant solution I am seeking, though. I was
> > hoping to drag and drop onto a droplet.
Bob,
Neither of these approaches work with MS Word files on a Mac. I know
it works with every other file type, and I know it works on a PC. The
problem is that each file opens the print dialogue window which must
be negotiated to continue.
Thanks anyway,
M
CyberTaz - 27 May 2007 17:46 GMT
Sorry Matt - misunderstood the point. Based on how Word works I'm not sure
how you can bypass the dialog altogether other than what you're already
trying. I'm not sure whether it can be done by Apple Script or not.
Regards |:>)
Bob Jones
[MVP] Office:Mac
On 5/27/07 9:51 AM, in article
1180273891.193171.132880@g4g2000hsf.googlegroups.com, "Othermatt"
<smithmj@mac.com> wrote:
>> Hi Matt -
>>
[quoted text clipped - 49 lines]
> Thanks anyway,
> M
Othermatt - 29 May 2007 02:02 GMT
> Sorry Matt - misunderstood the point. Based on how Word works I'm not sure
> how you can bypass the dialog altogether other than what you're already
[quoted text clipped - 61 lines]
> > Thanks anyway,
> > M
Oh, this is good. I just received this AppleScript from a wise and
kind individual in the Apple Discussions. The link to the discussion
is:
http://discussions.apple.com/message.jspa?messageID=4621548
The AppleScript (which I'm guessing invokes visual basic?) follows:
on run
display dialog "Print out Word 2004 documents" & return & return & ¬
"Drag Word documents (xxx.doc) onto this droplet to print out each
one. " buttons {"OK"} default button 1
end run
on open the_Droppings
repeat with a_Doc in the_Droppings
tell application "Finder" to open file a_Doc
tell application "Microsoft Word"
repeat until name of active document is ((info for a_Doc)'s name as
string)
end repeat
print out active document print copies 1
close active document saving no
end tell
end repeat
end open
Regards!
Matthew