Under review

Open config file

EASTim 10 months ago updated 10 months ago 2

Hi all,

Is it possible to open a self made config file and read the content to configure the layout.

I would like to create a JSON (I found that it's possible to work with JSON) with all room info (names, light load names, ...) And process this to the layout. If possible also configure list lengths.

I could not find this on the forum or documentation.

Thanks in advance.

Under review


A maximum of only 262144 bytes can be read. The readable file must be in UTF-8 without BOM. Example for Windows:

var path = "C:\\tmp\\test.txt";

var file = IR.OpenFile(path, "r"); // "r" = read


var result = IR.ReadFile(file);



Thanks for the quick reply. Something to test when I've got the time.