Skip to content

Ini

Ini - AddParameter

Add a new parameter to ini text data

IN

Name Type Description
InIniText String The ini file's text data.
InSection String The section's name where parameter has to be added.Can be empty.
InName String The parameter's name to add.
InValue String The parameter's value to add.
InComment String The parameter's comment.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutFileText String The edited ini text data.
Error ErrorState Gets the execution error message

Ini - AddSection

Get the sections' keys from ini text data

IN

Name Type Description
InIniText String The ini file's text data.
InSection String The section's name to add.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutFileText String The edited ini text data.
Error ErrorState Gets the execution error message

Ini - GetParametersKeys

Get parameters' keys from ini text data at the given section

IN

Name Type Description
InFileText String The ini file's text data.
InSection String The section's name where parameters have to be searched.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutParameters StringArray The collection of parameters' keys.
Error ErrorState Gets the execution error message

Ini - GetParameterValue

Get parameter's value from ini text data at the given section

IN

Name Type Description
InFileText String The ini file's text data.
InSection String The section's name where parameter has to be searched.
InName String The parameter's name.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutValue String The parameter's value.
Error ErrorState Gets the execution error message

Ini - GetSectionsKeys

Get sections' keys from ini text data

IN

Name Type Description
InFileText String The ini file's text data.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutSections StringArray The collection of sections' keys.
Error ErrorState Gets the execution error message

Ini - Load

Read a ini file into a text

IN

Name Type Description
InFile PathFile The source ini file to read.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutIniText String The text representing the file's content.Type : string
Error ErrorState Gets the execution error message

Ini - RemoveParameter

Remove a parameter from ini text data

IN

Name Type Description
InIniText String The ini file's text data.
InSection String The section's name where parameter has to be added.Can be empty.
InName String The parameter's name to remove.Type : string
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutFileText String The edited ini text data.
Error ErrorState Gets the execution error message

Ini - RemoveSection

Remove a section from ini text data

IN

Name Type Description
InIniText String The ini file's text data.
InSection String The sectionto remove.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutFileText String The edited ini text data.
Error ErrorState Gets the execution error message

Ini - Save

Save text content to a .ini file

IN

Name Type Description
InFile PathFile The ini file to save.
InAppend Bool If true,append the content to existing file,otherwise overwrite it.
InIniText String The text representing the ini file's content.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
Error ErrorState Gets the execution error message

Ini - SetParameter

Set a parameter in the ini text data

IN

Name Type Description
InIniText String The ini file's text data.
InSection String The section's name where parameter has to be added.Can be empty.
InName String The parameter's name to set.
InValue String The parameter's value to set.
InAddIfMissing Bool If true,add parameter if is missing.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutFileText String The edited ini text data.
Error ErrorState Gets the execution error message