en:actions:actionreadinifile
Differences
This shows you the differences between two versions of the page.
| Previous revision | |||
| — | en:actions:actionreadinifile [2021/02/13 11:23] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== 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 ===== | ||
| + | |||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | |||
| + | ==== Unable to read the file ==== | ||
| + | < | ||
| + | |||
| + | This exception is thrown when the file cannot be read. | ||
| + | * Default action: stop the script execution | ||
| + | |||
| + | ==== Unable to find the requested section ==== | ||
| + | < | ||
| + | |||
| + | This exception is thrown when the requested section cannot be found. | ||
| + | * Default action: stop the script execution | ||
