I am reading this thread with a bit of interest! I use both the G9 and the S95 for Kite Aerial Photography (KAP). I have written several CHDK / SDM scripts with simple intervalometer, zoom bracket and video swap. The shoot command kicks in the auto focus for both cameras. Results are not bad. Looking to improve this a bit by fixing focus at infinity. I am using both CHDK and SDM scripts.
I would love a simple command "set_focus_to_infinity" that would lock the focus at infinity till revoked by the script.
Any thoughts?
See simple SDM S95 KAP script below.
@title WindWatcher SDM KAP Script WW-S95-2
@param p # still photos
@default p 25
@param z Zoom bracket on=1 or off=0
@default z 1
@param v Video V=1 on V=0 off
@default v 1
@param d video duration in seconds
@default d 30
rem setup
sleep_for 1000
set_zoom_speed 10
set_zoom 0
sync_off
turn_backlight_off
sleep_for 1000
rem loop until we switch off or batteries run out
while 1
rem take some stills
for n = 1 to p
shoot
sleep_for_seconds 1
next n
rem possibly take a movie
if v=1 then shoot_movie_for d
sleep_for_seconds 2
rem possibly do a stills zoom bracket
if z=1 then set_zoom 4
sleep_for 1000
for n = 1 to p
shoot
sleep_for_seconds 1
next n
rem possibly another movie (while zoomed)
if v=1 then shoot_movie_for d
sleep_for_seconds 2
rem possibly a deeper stills zoom bracket
if z=1 then set_zoom 8
sleep_for 1000
for n = 1 to p
shoot
sleep_for_seconds 1
next n
rem and deeper zoomed movie?
if v=1 then shoot_movie_for d
sleep_for_seconds 2
rem undo any zooming before we repeat the whole thing
set_zoom 0
sleep_for 1000
wend