Script

  • 27 Aug

    Considering Limagito as a replacement

    Hi, 

    We’re considering Limagito to replace our current solution. A few questions:
    1. We feed incoming filenames to a PERL script, which outputs the replacement filenames for the files at their destination. How could we accomplish this in Limagito?
    2. ..
    Thanx. Mark.
    Until now this wasn’t possible so we had to add this. To accomplish this we added some extra features to the Command option (v11.8.27.0).
    • Redirect Command Output to PS String Var A (%VSA)
    • Line Number to Redirecy to PS String Var A (%VSA).
    Both options are used to redirect the command output to the Ps string Var A (%VSA) which can be used later in the renaming of the destination filename. Setting the Line Number to 1 will take the first line of the command output. Setting it to 0 will take all available lines of the command output.
    Inline afbeelding 3
    The Perl script (or any other type of script) is triggered in the ‘Before Move/Copy/Delete’ command using the source filename (%SFN) as argument.
    Inline afbeelding 2
    Then we will use this string Var A in the file renaming option of your destination.
    Inline afbeelding 4
    The destination filename will be the output result of the script triggered in the Command option.
    Regards,
    Limagito Team
    By Limagito New Option , ,
  • 26 Aug

    On Pascal Script Events

    Starting from version 11.8.26.0 we’ve added two new events:

    • On Pascal Script Success
    • On Pascal Script Error

    Events.PascalScript

     

    When enabled these events can be triggered by the psExitCode of any enabled Pascal Script.

    PascalScript.Events

     

    • Setting the psExitcode to 0 (zero) will trigger the ‘On Pascal Script Error’ event
    • Setting the psExitcode to 1 (one) will trigger the ‘On Pascal Script Success’ event
    • Setting psExitCode to any other value will not trigger the ‘On Pascal Script’ events

    Regards,

    Limagito Team

    By Limagito New Option , ,