https://bitbucket.org/daniel_fort/magic-lantern
Raw File
Tip revision: 2396a038475dec740fa6eba36d4b718d7c8b686e authored by Daniel Fort on 25 January 2017, 03:38:53 UTC
Closed branch 5D3-123_crop_rec
Tip revision: 2396a03
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
:Forum: http://www.magiclantern.fm/forum/index.php?topic=14828.0
back to top