Get statistics from Passolo possible?

Dear NG!

I'd like to get the string list statistics (untranslated words, etc) from a passolo project. I looked through the SDK but it does not seem to be possible.

Exporting also does not seem to produce any statistics.

Has anyone an idea how to do this. Any hints are welcome. Kind regards, Thomas

Parents Reply
  • Perfect solution. Thank you very much, Robert! Didn't recognize the Automation help so far. Now I Open the project, and output the statistics for every language contained in the project like this:

    if (openFileDialog1.ShowDialog() == DialogResult.OK)
    {
    PassoloApp lApp = new PassoloAppClass();
    PslProject lProject = lApp.Projects.Open(openFileDialog1.FileName, 52);
    for (int i = 0; i < lProject.Languages.Count; i++)
    {
    PslLanguage lLangObj = lProject.Languages.Item(i+1) ?? new PslLanguageClass();
    PslStatistics lStat = (PslStatistics)lLangObj.GetStatistics();
    if (lStat.Total.WordCount > 0)
    {
    // Do whatever you want with the wordcount etc.
    }
    }
    lProject.Close(false);
    lApp.Quit(false);

    }

Children
No Data