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

Launching script from contextual menu

A script can be an option of a contextual menu attached to an Active View graphic object. This can allow you to launch a script on a user demand.

In the screen shot below you can see many items defined for the contextual menu. Each item lauches a different script or the same script with different parameters

contextual menu of an active view object definition

The object with it contextual menu

contextual menu

The syntax for the script action is:

filename.lua ip_adresse index oid

When a script is lauched from the menu a windows display the result of the script

script execution statement

Close the windows to continue


www.loriotpro.com