CHDK Forum

Using CHDK => General Help and Assistance on using CHDK stable releases => Topic started by: wa0tjt on 27 / May / 2013, 15:26:52

Title: Turning the flash off on a495
Post 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
Title: Re: Turning the flash off on a495
Post by: waterwingz on 27 / May / 2013, 15:42:00
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
Code: [Select]
set_prop 143 2Also,  the "flash" key is not defined for the a495 (in platform/a495/kbd.c) so doing a
Code: [Select]
click "flash" will do nothing.

However,
Code: [Select]
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.