After updating to Passolo 2016 it appears the using pslcmd.exe to run a macro does not work.

After updating to Passolo 2016 it appears the using pslcmd.exe to run a macro does not work. I have a very simple test macro that open a Passolo file and generates a target language file. From a command prompt window if I run "<APP PATH>pslcmd.exe /runmacro=<MACROPATH>\TestPSLCMD.bas" Passolo opens but does not do anything. The same command using Passolo 2011 opens the Passolo file and generates the target language file. Anyone experience this?

Parents Reply
  • Hi Darrell, It's work for me.
    The program run without modification.
    I did some modification to see
    '#Language "WWB-COM"

    Option Explicit

    Sub Main
    Dim prj As PslProject
    Dim trn As PslTransList
    Set prj = PSL.Projects.Open("C:\help v10\whatnew\whatnew.lpu")

    PSL.Visible = True
    If Not(prj Is Nothing) Then
    MsgBox "find project"
    'Loop thru all selected translation lists
    For Each trn In prj.TransLists
    trn.GenerateTarget

    Next trn
    Else
    MsgBox "no project"
    End If

    End Sub


    I put the macro file in in C:\Users\Public\Documents\Passolo 2016\macros\test_call_macro.bas

    I create a empty file test.bat on my desktop with

    "C:\Program Files (x86)\SDL\SDL Passolo\SDL Passolo 2016\pslcmd.exe" /runmacro=test_call_macro.bas
    pause
    It's working fine for me. :)
Children