Is it possible to query in a macro which Passolo Edition is open (Professional or Team)?

I have written a macro that processes projects and generates bundles for translation. I would like the macro to check that the Team Edition is open and pop a warning if it is not. Is there a property that checks the edition, or some other way to figure it out?

Thanks in advance!

Penny

Parents
  • In case someone need the way to do it. In a batch file you can 

    tasklist /FI "IMAGENAME eq myapp.exe" 2>NUL | find /I /N "myapp.exe">NUL
    if "%ERRORLEVEL%"=="1" echo Program is NOT running

    :: note If the
    ERRORLEVEL equal 1 It will also return true at ERRORLEVEL equal 0
    if "%ERRORLEVEL%"=="0" echo Program is running
    good day 
Reply
  • In case someone need the way to do it. In a batch file you can 

    tasklist /FI "IMAGENAME eq myapp.exe" 2>NUL | find /I /N "myapp.exe">NUL
    if "%ERRORLEVEL%"=="1" echo Program is NOT running

    :: note If the
    ERRORLEVEL equal 1 It will also return true at ERRORLEVEL equal 0
    if "%ERRORLEVEL%"=="0" echo Program is running
    good day 
Children
No Data