Documentation Center

Automation of Passolo

You can automate Passolo from any programming language that is able to connect to automation servers. Using automation, Passolo can be integrated into workflow management systems. Nearly every operation which is normally performed by a user can be automated without human interaction.

To open a project from a Microsoft Visual Basic application and perform some operations you only have to:

  • Create a new Visual Basic project
  • From the menu Project choose References and check Passolo 2022 Object Library
  • Add a button to the form
  • Double-click on the button and enter the following code for the callback handler subroutine:
Private Sub Command1_Click() 
Dim PSL As PassoloApp 
Set PSL = CreateObject("Passolo.Application") 

' Open the project
PSL.Projects.Open ("c:\samples\notepad.lpu") 

' Update stringlists
PSL.ActiveProject.SourceLists(1).Update
PSL.ActiveProject.TransLists(1).Update 

' Autotranslate
PSL.ActiveProject.TransLists(1).AutoTranslate 
' Generate targetfile and quit 
PSL.ActiveProject.TransLists(1).GenerateTarget
PSL.Quit pslSaveChanges 
End Sub

Passolo Versions

Different versions of Passolo use different application object names. "Passolo.Application" uses the Passolo version that has been installed last. If you're using different Passolo versions side by side, your must use a versioned object name to address the correct version.

VersionVersioned Object Nameuuid
Passolo 2022Passolo.Application.22{89944F5B-F8DF-4181-A923-9966C582F504}
SDL Passolo 2018Passolo.Application.18{6F87400A-242D-46D0-96C7-678F85D9C349}
SDL Passolo 2016Passolo.Application.16{A2023D96-FCF6-437B-8CDC-84946B256DDD}
SDL Passolo 2015Passolo.Application.15{6F0A6A19-F203-463E-8702-CE795A5BE307}
SDL Passolo 2011Passolo.Application.11{56004006-4162-47d6-B694-2EDFFBAAEB9F}
SDL Passolo 2009Passolo.Application.8{AEF5F6AE-7307-4cbb-B613-71C65D60250E}
PASSOLO 2007Passolo.Application.7{8B2C6424-4792-412d-8918-1E72E7BA3D3D}
PASSOLO 6Passolo.Application.6{DE3E6479-853B-4d31-83C7-E9A5B7DB4724}
PASSOLO 5 UnicodePassolo.UnicodeApplication.5{A065C728-58DE-409b-A6A6-946CF78421A2}
PASSOLO 5 ASCIIPassolo.Application.5{3F3AA3C3-54E6-4ead-AEA1-DB3F2C88857D}
PASSOLO 4 UnicodePassolo.UnicodeApplication.4{AD38F5F7-706C-42c8-83B2-1086FD8575C5}
PASSOLO 4 ASCIIPassolo.Application.4{FB9D4356-FEA2-4cba-AC24-957CF897AC65}