Wikia

CHDK Wiki

Changes: Lua/Scripts: Scene Bracketing

Edit

Back to page

(Adding categories)
m (moved LUA/Scripts: Scene Bracketing to Lua/Scripts: Scene Bracketing: Lua is the proper name of the programming language, it is not an acronym)
 

Latest revision as of 19:56, January 24, 2011

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