CHDK Wiki
No edit summary
(Adding categories)
Line 31: Line 31:
 
set_prop (206, 1)
 
set_prop (206, 1)
 
</pre>
 
</pre>
  +
[[Category:Scripts]]

Revision as of 13:12, 18 July 2009

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)