Copying (all) user-defined properties to another .lpu file

Good morning,

I've got a .lpu file in Passolo 2022, which contains about 25 user-defined properties.

I want to copy all these properties into another .lpu file.

My first thougt was, to use psl.activeproject.properties, which shell contain all custom properties of the current project, according to the documentation. Unfortunately, if I run psl.activeproject.properties.count, the result is "0". Eventhough, a lot of custom properties are shown, when the .lpu file has been opened in Passolo an one has a look at "Project" -> "User-defined Properties".

Is there a way to export all custom properties to, i. e., a csv file?

And if so, how can I import all these custom properties into another .lpu file? My thought was to manually open the target .lpu and ran a macro, which imports the user defined properties from the export.

Or would it be easier, to unpack the projects, read the "PropDef=" entries from the "project.txt" file from the source .lpu and import these entries in the "project.txt" file of the target .lpu files?

Thank you very much in advance for your support as well as any hint.

Best regards and have a great day.

Nils



Title changed
[edited by: Nils Jörn at 6:07 AM (GMT 1) on 21 May 2024]
emoji