Wikia

CHDK Wiki

Changes: UBASIC/Scripts: Zoom-Video

Edit

Back to page

m (1 revision(s))
m (Category)
 
Line 40: Line 40:
   
 
--[[User:GrAnd|GrAnd]]
 
--[[User:GrAnd|GrAnd]]
[[Category:CHDK|Scripts: {{PAGENAME}}]]
+
[[Category:Scripts|Zoom-Video]]

Latest revision as of 15:49, October 14, 2007

Zoom-VideoEdit

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

Around Wikia's network

Random Wiki