Lua Intervalometer

Started by garry23, May 18, 2016, 09:02:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

garry23

David  ;)

I'm trying to use the intervalometer in a Lua script, using the following:

repeat -- hang around finished
msleep (1000)
until interval.running == false


But it doesn't seem to work or create any errors.

Is the intervalometer part of Lua enabled?

garry23

David/A1ex

I think I know what is happening the Lua interval module.

I think this:

   else if(!strcmp(key, "running")) lua_pushinteger(L, is_intervalometer_running());

should be

   else if(!strcmp(key, "running")) lua_pushboolean(L, is_intervalometer_running());