• 30 Nov

    Development System Update – Rio

    Dear Users,

    We have prepared new virtual systems with the latest version of the development tool we are using. We were able to rebuild the latest version and now we’ll start testing this Beta build. Main reason we do this is because we want to keep up with the latest compilers (Windows 32 and 64 bit) and third party code. We’re using Windows 10 Pro as development OS, all on virtual machines. Our development tool is now on the latest Delphi Rio 10.3.3 Release. The goal is to switch in January 2020.

    To give you an idea about the lines of code in LimagitoX File Mover (third party code lines not included):

    Regards,
    Limagito Team

    By Limagito-Team News ,
  • 27 Nov

    How-To Merge PDF Files using PDF as Destination

    Merge PDF Files

    A little how to merge pdf files using LimagitoX File Mover.

    We prepared the following Source folder with 8 single PDF pages numbered from 1 to 8.

    Selected WIN as Source and added the folder above as Input.

    In the Schedule Setup select the Advanced Tab. Set ‘Source File Sort Order’ to ‘Filename ascending (A to Z)’.

    Set the File Name Filter to only include PDF files ( *.pdf ). Just to be sure.

    Add PDF as Destination

    In the PDF Setup screen, add a PDF Action. Set this action to ‘Output PDF File’. We also changed the ‘Description’ to ‘Merge PDF Files’.

    Select the ‘Output’ Tab and set the Output Directory. Enable ‘Merge Pages’ and select ‘Last Ascending’ as ‘Insert Pages Position.

    Select the ‘Rename’ Tab and enable ‘Rename Files during Copy/Move’.

    Renaming Setup. This one is very important. We need a UNIQUE filename as result for all source pdf files you want to merge.

    In our example we want to merge: IntroXFM.1.pdf until IntroXFM.8.pdf

    So for all of these 8 files we need a unique output file. We separated the source file in 3 parts. Each part was separated by a dot. As replacement we took the first en third part which results in a unique filename for all of the 8 source files (IntroXM.pdf). Because due to this renaming it finds the file already in the destination and will merge the next source pdf file to it.

    Result: Multipage PDF file in the Output folder.

     

    If you need any help, just let us know. Don’t hesitate to ask.

    Regards,

    Limagito Team

    By Limagito-Team PDF ,
  • 19 Nov

    Pascal Script, Creating a text file

    Dear users,

    Simple Pascal Script to create a txt file containing the files handled by our file mover.

    1 Add PS as Destination

    2. Add the following Pascal Script. Don’t forget to adjust the ctOutputPath and ctOutputFilename.

    Var
      tmpList: TStringList;
      tmpFile: String;
    Const
      ctOutputPath = 'C:\Test\Out\';
      ctOutputFilename = 'Info.txt';
    Begin
      psExitCode:= 1;
      // Init Var
      tmpFile := ctOutputPath + ctOutputFilename;
     
      tmpList := TStringList.Create;
      Try
        psLogWrite(1, '', 'Add ' + psfilePath + psFileName + ' to ' + tmpFile);
        If FileExists(tmpFile) Then
          tmpList.LoadFromFile(tmpFile);
        tmpList.Append(psFilePath + psFilename);
        tmpList.SaveToFile(tmpFile);
      Finally
        tmpList.Free;
      End;
    End.

    Regards,
    Pascal

    By Limagito-Team Pascal Script ,
1 2 3 4 5 11
SEARCH