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.

Syntax

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

Description

Display the Microsoft color selection dialog box.

Parameters

none

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

 





www.loriotpro.com