expandProjectMacrosEx

String expandProjectMacrosEx(project, conf, stringToExpand, debugMode)

Returns a string where the macros in stringToExpand are expanded in the context of the conf configuration of the project, in debug or production mode.

Example

project_dir = ide.expandProjectMacrosEx("${ProjectName}", "Default", "${ProjectDir}", False)