From Clomosy Docs
There are properties available for accessing the file path of the project during file operations.
AppBasePath
String Property Clomosy.AppBasePath ;
It is a property that represents the path of the main directory where the Clomosy application is launched.
Example
var
ClomosyAppPath : String;
{
ClomosyAppPath = Clomosy.AppBasePath;
ShowMessage('The main directory path of the application: '+ClomosyAppPath);
}
AppFilesPath
String Property Clomosy.AppFilesPath;
It returns the file path of the project.
Example
var
ProjectFilePath : String;
{
ProjectFilePath = Clomosy.AppFilesPath;
ShowMessage('Project file path: '+ProjectFilePath);
}