--[[@title Interval shooting--]]--customDir = "000Time"customDir = "100CANON"-- function definitionsfunction getCurrentDir () local dir = os.listdir("A/DCIM", false) if(dir) then local count = table.getn(dir) print("getCurrentDir: "..dir[count]) return "A/DCIM/"..dir[count] else print("getCurrentDir:B") return nil endendrepeat minute = os.date("%M") minuteDigit = string.sub(minute,-1) print(minuteDigit) if ((minuteDigit == "5") or (minuteDigit == "0") ) then if minute ~= lastMinute then shoot() print(minute) lastMinute = minute end enduntil false
as far as I can tell, shoot() should block until shooting is finished, however it's not entirely clear whether that actually means all shooting related tasks have finished everything they need to do.
can you summarize your goals and progress on using PTP? I got into chdk because newer digital cameras lack capture via PTP.
Started by zeno « 1 2 » Script Writing
Started by mattkime LUA Scripting
Started by begin_astro DSLR Hack development
Started by artem78 LUA Scripting
Started by Mlapse LUA Scripting