CHDK/uBASIC/Scripts: Universal Bracketing

Universal Bracketing

 * Written for/on: A710is
 * Also works on: not tested

This script is inspired by the previous Multipurpose Bracketing, improved so that the actual setting is the center one and it is retained after the script.

Documentation/Help (save as a small "<>.txt" file to your /CHDK/SCRIPTS/ folder)

Author Miguel Veguillas

This script is inspired by the previous Multipurpose Bracketing, improved so that the actual setting is the center one and it is retained after the script.

for example if you have set 0EV actually, and set number of shoots to 3 and step to 3 it will shoot -1EV, 0EV and finally +1EV, returning to 0EV.

you have to select the parameter you want changed before running the script by pressing erase the required number of times.

If you want a faster bracketing try setting the review setting to none.

On A710is do not use anything below 12 ms for script shoot delay.

Script Code (save as "<>.bas" to your /CHDK/SCRIPTS/ folder)

@title Universal Bracketing @param a Num. of shots (odd number) @default a 3 @param b Step size (3 for EV) @default b 1

if a<3 then let a=3 rem We want an odd number of shoots! if a%2 < 1 then let a = a+1

if b<1 then let b=1

print "Starting Bracketing"

rem for each shoot for s=1 to (a-1)/2 rem move step size for n=1 to b   click "left" next n next s

print "shooting 1 of",a shoot

rem for each shoot for s=2 to a rem move step size for n=1 to b   click "right" next n print "shooting ",s,"of",a shoot next s

print "Ending" rem for each shoot for s=1 to (a-1)/2 rem move step size for n=1 to b   click "left" next n next s end

--80.24.34.110