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

lpw.GetColor - Display the color selection dialog box

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.


r,g,b= lpw.GetColor();


Display the Microsoft color selection dialog box.



Return Values

The selected color as three components

r - The red component value (0 – 255)

g - The green component value (0 – 255)

b - The blue component (0 – 255)

result=1 if ok, nil if error