hi everyone help will be apreciated - Script Writing - CHDK Forum

hi everyone help will be apreciated

  • 1 Replies
  • 108 Views
hi everyone help will be apreciated
« on: 16 / April / 2019, 14:53:09 »
Advertisements
hi, im new here only found this forum and the tool a few days back.
I have problem I dont know anyone can help me with. id like to write a simple ubasic script that records one minute once shutter button pressed on a G12 camera and then records 60 seconds stops and waits for a shutter button pressed again. unless while recording the shutter button pressed, if that happens then just goes back to wait to start the script again. the first bit is ok I managed to do it from the continuous recording script. but I couldn't add the what if shutter pressed while recording bit. anyone able to help me with that? many thanks ahead

Re: hi everyone help will be apreciated
« Reply #1 on: 16 / April / 2019, 19:06:16 »
How about something like the script attached here.  Written in Lua as I don't really understand uBASIC programming.   :P

It handles cameras with & without video buttons.   Tested on an S100 (video button) and G10 (no video button) so should work just find on your G12.
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics