Good questions Lutz :)
I'd like to think that it will work when running as a service as long as a)
it runs silently and b) Word is installed on the server. But that is
certainly something that will need to be tested.

I am trying to find a solution that is very simple for users of all
technical abilities to use - ie something that requires no additional
software to be installed.
We are creating complex documents using Write Pro. They can be exported
directly to PDF but there are two problems with this:
1) You have no control over the resolution - they are always large,
high-res files.
2) (Most importantly) Any hyperlinks are lost.

The documents can also be exported to .docx format (starting with v17r4).
This works well, and the resulting documents can then be opened in Word and
saved as PDF with a choice of two resolutions, and the hyperlinks are
preserved. This is what we want to automate.

I don't know anything about Powershell scripting but I'll find someone who
does and give that a go. I've already got somebody working on an
AppleScript version. If there are any Powershell scripters on this forum
who would like to have a go at this, please contact me!

Pat

On Fri, 5 Apr 2019 at 09:15, Epperlein, Lutz (agendo) via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> The more interesting question is, at least from my point of view, which
> tools
> do you use for the conversion from docx to PDF. And do this tools work in
> a
> context of Windows service. Does the conversion works reliable if started
> from
> a 4D app running as a Windows Service.
>
> And as suggestion for a scripting language under Windows I second Tom's
> proposal: Use powershell.
>
> Regards
> Lutz
>
> > -----Original Message-----
> > Subject: Re: Best scripting language to use with LEP
> >
> > Hi Pat,
> >
> > I believe that PowerShell is included in all versions of Windows:
> >
> >
> https://docs.microsoft.com/en-us/powershell/scripting/install/installing-windows-
> > powershell?view=powershell-6
> >
> > And I see that there is a version for MacOS too, but will need to be
> > installed:
> >
> https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-
> > core-on-macos?view=powershell-6
> >
> > Tom Benedict
> > >
> > > Windows
> > > Any suggestions as to which language would be best? PERL? Java?
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **********************************************************************



-- 
*************************************************
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*************************************************
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to