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
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