I also wish intervalometer scripts worked, and i wish I could help but I have no knowledge in coding or anything like that.
Looks back at my post a page or so back for the details, but they work well in LUA (I suspect in ubasic knowing what I know now). e.g. on
http://chdk.wikia.com/wiki/LUAYou have:
--[[
@title Minimalistic Intervalometer
@param a Shooting interval, min
@default a 0
@param b ...sec
@default b 10
--]]
Interval = a*60000 + b*1000
function TakePicture()
press("shoot_half")
repeat sleep(50) until get_shooting() == true
press("shoot_full")
release("shoot_full")
repeat sleep(50) until get_shooting() == false
release "shoot_half"
end
repeat
StartTick = get_tick_count()
TakePicture()
sleep(Interval - (get_tick_count() - StartTick))
until false
Which is 99% right.. What needs to be changed is the TakePicture() function so it looks like:
function TakePicture()
press("shoot_half")
repeat sleep(50) until get_shooting() == true
press("shoot_full")
release("shoot_full")
release("shoot_half")
repeat sleep(50) until get_shooting() == false
end
Note the shoot_half release is before the repeat until statement. That is the only odd catch. I've done a few test timelapses with a more complex script after being aware of this issue without any real drawbacks.