https://bugs.documentfoundation.org/show_bug.cgi?id=106472

Mike Kaganski <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOTABUG
             Status|NEW                         |RESOLVED

--- Comment #8 from Mike Kaganski <[email protected]> ---
No bug here. Macro is just another URI that gets executed among others, like in

  soffice URI1 URI2 URI3 ...

with optional modifiers like -p that modify what is done with URIs following
it. For -p, the action is "for each following URI, do this: execute it, print,
close, continue to the next". At the time the macro URI executes, there's no
active document.

When you open the URI using default mode (editing for most file types), they
are kept open, so macro would work with currently open documents when it is
handled.

If you want to execute a macro and print, just add the print command to the
macro itself (and possibly also close the document from there).

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to