Habe mein erstes Skript gebastelt , weiß nicht ob so richtig ist oder auch anders geht da ich nichts gefunden habe .
Tasten :
1. Half Shoot = AutoFocus
2. FuncSet = Stop Rec
3. UP = Zoom + Autofocus
4. DOWN = Zoom - Autofocus
5. DISP = M-Focus -
6. MENU = M-Focus +
- Code: Alles auswählen
rem SX200 By Dulap
@title zoom / focus in video
get_prop 6 q
if q=0 then set_prop 6 1
get_focus u
o=0
do
o=o+1
p=o*o*(o+1)*(o+1)+80
until u<p
v=o
press "shoot_half"
sleep 800
click "shoot_full"
print "SET - Stop Rec"
print "Shoot Half - Auto Focus"
:loop
wait_click
if is_key "up" then goto "focus_1"
if is_key "down" then goto "focus_2"
if is_key "shoot_half" then set_aflock 1
if is_key "set" then goto "end"
if is_key "menu" then goto "menu_focus"
if is_key "display" then goto "display_focus"
goto "loop"
:focus_1
set_zoom_rel 15
set_aflock 1
goto "loop"
return
:focus_2
set_zoom_rel -15
set_aflock 1
goto "loop"
return
:menu_focus
v=v+1
gosub "focus_DISP/MENU"
goto "loop"
:display_focus
v=v-1
gosub "focus_DISP/MENU"
goto "loop"
:focus_DISP/MENU
u=(v*v*v*v)+80
if v>=12 then u=65535
if v<1 then let v=1
if v>12 then let v=12
set_focus u
get_focus t
print "focus", v; "/12 ("t; " mm)"
return
:end
click "shoot_full"
end
end
wait_click
cls
return