executable within XLT

Clovertech Forums Cloverleaf executable within XLT

Tagged: 

  • Creator
    Topic
  • #119368
    Alexander Schuetze
    Participant

      Hi,
      does anyone know, how to call an executable file within a XLT?
      I need to call a program to convert .doc/.docx-files to pdf.
      Input -> path and name of the original file.
      Output -> path and name of the converted file.
      Regards
      Alex

    Viewing 1 reply thread
    • Author
      Replies
      • #119369
        Jim Kosloskey
        Participant

          I am not sure you really want to slow down the Xlate by doing file operations during the translation but in a COPY or CALL Action you can issue the Tcl exec command.

          If it fits the problem solution perhaps consider doing the file conversion pre-xlate.

          email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

        • #119371
          Alexander Schuetze
          Participant

            Hi Jim,
            thank you.
            The exec command was what i’m looking for.
            Within the Xlate i check if the conversion is necessary or not.
            I need to test the performance of the Xlate now.
            Regards
            Alex

        Viewing 1 reply thread
        • You must be logged in to reply to this topic.