macro to print all open documents?

Get help using and writing Nisus Writer Pro macros.
Post Reply
tomholman
Posts: 12
Joined: 2007-12-09 03:43:38

macro to print all open documents?

Post by tomholman »

Is there a macro that will print all open documents on the currently selected printer?
Thanks.
User avatar
phspaelti
Posts: 1313
Joined: 2007-02-07 00:58:12
Location: Japan

Re: macro to print all open documents?

Post by phspaelti »

The following macro should do it. Since I don't really want to print out a lot of stuff, I haven't really tested this.

Code: Select all

$openDocs = Document.openDocuments
foreach $doc in $openDocs
$doc.show
File:Print
Press Default Button
end
philip
tomholman
Posts: 12
Joined: 2007-12-09 03:43:38

Re: macro to print all open documents?

Post by tomholman »

Thanks very much. It worked perfectly.
Post Reply