GetINISection

Purpose

Returns all values in the given INI section.  Each section is separated with a NULL character.

Parameters

Parameter: section
Type: string
Description: Name of the section in the INI file to get, like "Settings" for the HomeSeer settings section.

Parameter: filename
Type: string
Description: File name of the INI file to access, such as "settings.ini".  The file name is relative to the "config" folder in the HomeSeer program directory (C:\Program Files\HomeSeer 2\Config by default).

Returns

Return value: ini section
Type: string

Example

GetINISection Script Example