LUALoriotPro WEB site

LoriotPro scripting documentation
Extensions for LUA language

Table of contents Search function

Print the current page Mail this  link UTUBE Channel version française


LoriotPro has extended the LUA sripting language by providing its own LUA libraries. The new functions provided are dedicated to the creation of monitoring and SNMP automation application.


value = lp.SetIconForUID('uid','imgfile_ico')


Change the current icon of an object of the directory.


uid - the Unique number of the object in the LoriotPro directory

imgfile_ico - the name of the icon file. The path should be related to the /bin directory of LoriotPro. ex: icons/computers/pda.ico

Return Values

value : 1 if succeeded

Return nil if an error occurs


ret= lp.SetIconForUID('5838789326292385802','icons/computers/pda.ico')

->After replacement Icon Before