Photos exact every half hour (16:30 17:00 17:30 ...etc) - Script Writing - CHDK Forum

Photos exact every half hour (16:30 17:00 17:30 ...etc)

  • 2 Replies
  • 1903 Views
Photos exact every half hour (16:30 17:00 17:30 ...etc)
« on: 15 / January / 2012, 10:06:34 »
Advertisements
Anyone know of any script to take pictures every half hour with my PowerShot SX30. The hours have to be exact (16:30 17:00 17:30 18:00 ... etc). A greeting.

*

Offline reyalp

  • ******
  • 12742
Re: Photos exact every half hour (16:30 17:00 17:30 ...etc)
« Reply #1 on: 15 / January / 2012, 17:57:50 »
Anyone know of any script to take pictures every half hour with my PowerShot SX30. The hours have to be exact (16:30 17:00 17:30 18:00 ... etc). A greeting.
Lua and ubasic can both access the onboard clock. Lua date/time functions are described here http://www.lua.org/manual/5.1/manual.html#5.8

Ubasic function is here http://chdk.wikia.com/wiki/Script_commands#get_time (also works in lua, but using the OS functions is probably more convenient)
Don't forget what the H stands for.

Re: Photos exact every half hour (16:30 17:00 17:30 ...etc)
« Reply #2 on: 19 / January / 2012, 16:19:47 »
Thank you very much for the answer reyalp.

 

Related Topics