{"monitornorth": [{ "firstline": "John", "secline": "Doe", "txtcol": "colors.white", "backcol": "colors.blue" }]}Thanks to LBPHacker and this JSON-API i am able to read this data from the server with
print(obj.monitornorth[1].firstline)I dont want to modify every pc but i will label them is it possible to String concatenate a variable name?
sth. like this?
var varstring = "obj."..os.getComputerLabel().."[1].firstline" local var = getfenv()[varstring]But i thinks thats only the "name" of the variable am i right?
Thank you for your time
TL TR: variable build via generated string(os.getComputerLabel())
Edited by Martin2789, 14 February 2014 - 02:04 PM.