Setting camera options - General Discussion and Assistance - CHDK Forum

Setting camera options

  • 3 Replies
  • 2815 Views
Setting camera options
« on: 29 / June / 2012, 09:35:12 »
Advertisements
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) ?

thanks

*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
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.

msl
CHDK-DE:  CHDK-DE links

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:

click("menu")
click("left")
click("down")
click("right")
click("set")

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) {
    cout<<question
}

Compile error: poor Yorick

*

Offline reyalp

  • ******
  • 14118
Re: Setting camera options
« Reply #3 on: 30 / June / 2012, 15:56:43 »
This post has some info about setting date with eventprocs: http://chdk.setepontos.com/index.php?topic=7280.msg78087#msg78087
Don't forget what the H stands for.


 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal