Wikia

CHDK Wiki

Lua/Scripts: Scene Bracketing(lua)

Talk2
573pages on
this wiki

< Lua

Revision as of 13:12, July 18, 2009 by Fe50 (Talk | contribs)

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)

Around Wikia's network

Random Wiki