GetProjectManager().GetActiveProject().GetCommonTopLevelPath();
http://wiki.codeblocks.org/index.php?title=Scripting_commands
Many thanks for responding!
Unfortunately, your tip doesnt work. Before posting this message, I investigated your wikipages and had an additionally look to the scripts in the codeblocks script directory and found, what you told me.
There are five projects in my workspace. I activated every project one by one and typed print( GetProjectManager().GetActiveProject().GetCommonTopLevelPath()); in your Script console. After that I had correct results for three of them. Two failed, I got the parentpath of the project.
Both named projects are using files, wich are stored above the project directory. So, the GetCommonTopLevelPath() will (correctly) return the highest point in the whole path. The codeblocks script make_dist.script from Yiannis struggles with the same problem.
After thinking about the problem, it would be better to have a list about all the files in the current activated project. This way I can write a doxygen config file and simply execute this.
Do you have any other suggestions?