https://bitbucket.org/hudson/magic-lantern
Raw File
Tip revision: ef33f4f8629c2d9727272a704c7d05f1d9cd26ac authored by a1ex on 18 April 2016, 19:53:28 UTC
Close branch play_mode
Tip revision: ef33f4f
README.rst
Lua scripting
=============

Module for running Lua scripts on the camera.

The scripting engine looks for scripts (\*.LUA) in ML/SCRIPTS.
Any scripts found get "loaded" at startup by the scripting engine simply running them.
Therefore the main body of the script should simply *define* the script's menu and behavior,
not actually *execute* anything.

The scripting engine will maintain your script's global state from run to run,
so any global variables you declare will persist until the camera is turned off.

API documentation: http://davidmilligan.github.io/ml-lua/

:Authors: dmilligan
:License: GPL
:Summary: Lua scripting
back to top