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

lp.ShowPlugin - Displays the window of a directory plugin

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

result = lp.ShowPlugin('uid');

Description

The lp.ShowPlugin LUA function displays the window of a directory plugin.

Parameters

uid - The UID of the plugin to show. This is a unique long value of 64 bits provided in a character string format.

Return Values

result : 1 if the UID exist

Return nil if an error occurs

Example

The script editor helps you to select the UID of the plugin.

show plugin with lua

show plugin with lua

The LUA code :

 

value = lp.ShowPlugin("5117890155264344098");

lp.Print("result : ", value,"\n");

 

The plugin window pops up, in our example an Active View plugin is used.

lua code

 

 


www.loriotpro.com