User Tools

Site Tools


en:actions:actionreadinifile

Read INI file

This action allows reading from an INI file. An INI file is a configuration file often used to save an applications settings.

Standard parameters

Input parameters

File

The INI file to read.

Mode

The file reading mode: only one parameter or the whole file. [Added in Actionaz 3.7.0.]

Section

The section where to search for the data.

Parameter

The parameter name where to search for the data.

Output parameters

Variable

The name of the variable where to save the read data.

Exceptions

Unable to read the file

<BOOKMARK:unable_to_read_file>

This exception is thrown when the file cannot be read.

  • Default action: stop the script execution

Unable to find the requested section

<BOOKMARK:unable_to_find_section>

This exception is thrown when the requested section cannot be found.

  • Default action: stop the script execution
en/actions/actionreadinifile.txt · Last modified: 2021/02/13 11:23 by 127.0.0.1