Fandom

CHDK Wiki

Lua/Scripts: Scene Bracketing(lua)

< Lua

598pages on
this wiki
Add New Page
Talk2 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

This is a script i made for my Canon a710. I use it when I want to shoot in multilpe scene modes - Color Vivid, Black&White and Sepia. They can be activated from the menu.

Script Code (save as "scene_bracket.lua" to your /SCRIPTS/ folder)

--Scene_bracket.lua    by Mehigh 
--[[

@title Scene bracketing
@param a Enable B&W (0-OFF/1-ON)
@default a 0
@param b Enable Sepia (0-OFF/1-ON)
@default b 0
]]

cls()
print("Shooting Vivid, Black&White and Sepia")
set_prop (206, 1)
shoot()

if (a==1) then 
   set_prop(206, 3) 
   shoot() 
end 

if (b==1) then 
   set_prop(206, 4) 
   shoot()
end

set_prop (206, 1)

Also on Fandom

Random Wiki