CHDK Forum
Using CHDK => General Help and Assistance on using CHDK stable releases => Topic started by: wa0tjt on 27 / May / 2013, 15:26:52
-
Im pretty new at this but have managed to create a pretty good script for my camera. I have one remaining issue that nothing I do seems to fix. I want to turn off the flash and leave it off.
I've tried;
click "flash"
click "flash"
and;
click "flash"
click "right"
and
set_prop 16 2
But none of that turns it off. Does someone out there in the CHDK-vese know how to do this?
thanks in advance
--Keith
-
I want to turn off the flash and leave it off.
..
set_prop 16 2
The A495 is a propset 3 camera, so the correct way to do this is
set_prop 143 2
Also, the "flash" key is not defined for the a495 (in platform/a495/kbd.c) so doing a click "flash"
will do nothing.
However,
click "right"
click "right"
click "set"
should work.
Note: if the propset doesn't work (I can't test as I don't have your camera) you could get fancy and loop doing the right clicks until get_prop 143 is the value you want.