Setting camera options

  • 3 Replies
Setting camera options
« on: 29 / June / 2012, 09:35:12 »
Hi all
just quick question,
is it possibile to set camera options through a script?
I mean setting: date, hour, and all the various options that are present
in the camera play menu and rec menu (not the chdk's one) ?



Offline msl

  • *****
  • 1237
  • A720 IS, SX220 HS 1.01a
    • CHDK inside
Re: Setting camera options
« Reply #1 on: 29 / June / 2012, 14:31:09 »
Not really ...

You can set in a script temporary some options with propertycases. That will not change the Canon menu settings.

Date & time (probably also other things) you can set with an event procedure. But you should know what you're doing. With event procedure you may damage the camera OS.

German CHDK pages:  CHDK forum | CHDK inside | CHDK Twitter News by msl | Download CHDK-DE (Autobuild)
Note: SDM violates the GPL rules!

Re: Setting camera options
« Reply #2 on: 29 / June / 2012, 18:27:10 »
In addition there's a dirty workaround - write a script, which will click appropriate buttons to set that things. For example:


On sx130is above code will cause entering to the menu, navigate to the settings -> mute on/off; so it'll mute/unmute the camera ;)

Dirty and not portable, but works. Just like a macro in Execel or something.

PS. It is good idea to add a little delay between clicks - to allow camera to follow your clicks;)
if (2*b || !2*b) {

Compile error: poor Yorick


Online reyalp

  • ******
  • 11514
Re: Setting camera options
« Reply #3 on: 30 / June / 2012, 15:56:43 »
This post has some info about setting date with eventprocs:
Don't forget what the H stands for.


Related Topics