I have successfully adapted Nichloas Bertolissio's bracketing script to work on the SD870. It begins taking photos by pressing the "set" button. I want it to work so that it begins taking photos each time it receives a USB pulse.
The full USB remote and bracketing scripts I'm using are listed at the bottom of this post. If anybody can figure out how to make this would I appreciate it greatly.
I changed the following statement in the bracketing script hoping it would work, but it didn't:
if is_key "set"
changed to:
if is_key "remote"
I have been using the following USB remote script:
@title Remote button
while 1
wait_click 1
if is_key "remote" then shoot
wend
end
Below is the full bracketing script that I want to change so that it starts each time it receives a USB pulse:
@title Bracketing
@param a (Number images-1)/2 1..12
@default a 1
@param b Step size (1/3 EV) 1..12
@default b 2
@param c Correction (1/3 EV) -12..12
@default c 0
get_prop 25 w
get_prop 26 x
let y=1
do
let z=0
do
if a<1 then let a=1
if a>12 then let a=12
if b<1 then let b=1
if b>12 then let b=12
if c<-12 then let c=-12
if c>12 then let c=12
if y<1 then y=3
if y>3 then y=1
print ""
if y=1 then print "Num : <" 2*a+1 ">" else print "Num : " 2*a+1
if y=2 then print "Step: <" b/3,b%3 "/3>" else print "Step: " b/3,b%3 "/3"
if y=3 then print "Corr: <" c/3,c%3 "/3>" else print "Corr: " c/3,c%3 "/3"
print "[Set]=shoot [Disp]=exit"
wait_click
if is_key "up" then let y=y-1
if is_key "down" then let y=y+1
if y=1 and is_key "left" then let a=a-1
if y=2 and is_key "left" then let b=b-1
if y=3 and is_key "left" then let c=c-1
if y=1 and is_key "right" then let a=a+1
if y=2 and is_key "right" then let b=b+1
if y=3 and is_key "right" then let c=c+1
if is_key "set" then z=1
if is_key "display" then z=2
until z>0
if z=2 then goto "exit1"
let d=c*32-a*b*32
for s=1 to 2*a+1
set_prop 107 d
set_prop 207 d
print "Shoot at",d/96,(d/32)%3 "/3"
do
get_prop 206 p
until p=0
press "shoot_full"
do
get_prop 206 p
until p=1
release "shoot_full"
let d=d+b*32
next s
:exit1
until z=2
set_prop 25 w
set_prop 26 x
end
Thanks in advance!!