grandMA3 User Manual Publication

LuaFile Keyword

grandMA3 User Manual » Command Syntax and Keywords » General Keywords » LuaFile
Version 2.0

To enter the LuaFile keyword in the command line, use one of the options:

  • Type LuaFile
  • Type the shortcut LuaF

Description

The LuaFile keyword is used to execute a Lua file directly without the need to import it into the grandMA3 show file.

Syntax

LuaFile ["AbsolutePathToLuaFile/FileName.lua"]

Example

  • To execute the Lua file "execute_example.lua", type:
User name[Fixture]>LuaFile "C:\ProgramData\MALightingTechnology\gma3_1.6.3\shared\resource\lib_plugins\examples\execute_example\execute_example.lua"