CHDK Wiki
(New page: ==Zoom-Video== :'''Written for/on:''' Powershot A610 :'''Also works on:''' A-series Using zoom-rocker to control zoom during video recording. ''(Required build #129 or later)'' <pre> re...)
 
m (1 revision(s))

Revision as of 19:36, 13 October 2007

Zoom-Video

Written for/on: Powershot A610
Also works on: A-series

Using zoom-rocker to control zoom during video recording. (Required build #129 or later)

rem Author GrAnd
rem Enables zoom during video recording on A-series

@title Video with zoom

print "Half-press shoot button"
print "to stop video recording"
print ""

get_zoom z

click "shoot_full"

:loop
  wait_click

  is_key k "zoom_in"
    if k=1 then set_zoom_rel +1
  is_key k "zoom_out"
    if k=1 then set_zoom_rel -1
  is_key k "shoot_half"
    if k=1 then goto "end"
goto "loop"

:end
click "shoot_full"
sleep 2000
set_zoom z

end

--GrAnd