CHDK Wiki
Register
(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 (Category)
 
(One intermediate revision by the same user not shown)
Line 40: Line 40:
   
 
--[[User:GrAnd|GrAnd]]
 
--[[User:GrAnd|GrAnd]]
[[Category:CHDK|Scripts: {{PAGENAME}}]]
+
[[Category:Scripts|Zoom-Video]]

Latest revision as of 15:49, 14 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