Wikia

CHDK Wiki

UBASIC/Scripts: Universal Bracketing

Talk0
570pages on
this wiki

< UBASIC

Universal Bracketing Edit

Written for/on: A710is
Also works on: A540

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.

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

Documentation/Help (save as a small "<<script_filename>>.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. 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.


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

rem Author - Miguel Veguillas

@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

Around Wikia's network

Random Wiki