I've used this approach recently. Put logic into a Word macro and trigger it using command line. (/mmacroname)
https://support.microsoft.com/en-us/office/command-line-swit...
https://support.microsoft.com/en-us/office/command-line-swit...
No comments yet.