Hello everybody,
I have created an action in a view to print all the documents in that view whitout selecting all documents. How can I proceed ?
Thank you very much.
Hello everybody,
I have created an action in a view to print all the documents in that view whitout selecting all documents. How can I proceed ?
Thank you very much.
Subject: Print all documents in an uiview
Assuming this is a client app then you can use the lotusscript class notesuiview print method. Examples are in the help file.
Subject: RE: Print all documents in an uiview
the print method of notesuiview requires the docs to be selected, which is not what Jean wants.
Subject: RE: Print all documents in an uiview
Yep, you’re right.
The following will work. Could lead to a waste of paper though with people using the button by mistake or pressing it several times.
Action button
@Command([EditSelectAll]);
@Command([ToolsRunMacro]; “(Print All)”)
Agent
agent list selection
target - None
Sub Initialize
Dim ws As New notesuiworkspace
Dim uiview As notesuiview
Set uiview = ws.CurrentView
Call uiview.Print(1, , , , , , False, , )
End Sub