macro to print all open documents?

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

macro to print all open documents?

Post by tomholman » 2011-11-17 05:34:53

Is there a macro that will print all open documents on the currently selected printer?
Thanks.

User avatar
phspaelti
Posts: 889
Joined: 2007-02-07 00:58:12
Location: Japan

Re: macro to print all open documents?

Post by phspaelti » 2011-11-17 23:58:55

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: 7
Joined: 2007-12-09 03:43:38

Re: macro to print all open documents?

Post by tomholman » 2011-11-18 09:11:16

Thanks very much. It worked perfectly.

Post Reply