Use IDX instead of device name in LUA ?
Posted: Sunday 06 August 2017 15:26
Hi all
simple question as i'm struggling to find a clear info.
i would like to check a device using it's idx instead of it's name, is it possible in LUA ?
otherwise is it possible to assign the name of a device to a variable and use this variable in the script instead of repeating the device name ?
idea is just to avoid many changes when i change the name of a device.
thnaks !
seb
simple question as i'm struggling to find a clear info.
i would like to check a device using it's idx instead of it's name, is it possible in LUA ?
otherwise is it possible to assign the name of a device to a variable and use this variable in the script instead of repeating the device name ?
idea is just to avoid many changes when i change the name of a device.
thnaks !
seb