Open config file
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.
Customer support service by UserEcho
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" = readIR.Log(file);
var result = IR.ReadFile(file);IR.Log(result);
Thanks for the quick reply. Something to test when I've got the time.