A650 Startup Configuration - Feature Requests - CHDK Forum supplierdeeply

A650 Startup Configuration

  • 7 Replies
  • 4901 Views
A650 Startup Configuration
« on: 04 / September / 2008, 01:28:37 »
Advertisements
I like to shoot with spot metering mode and continuous drive mode on my a650. However, when I turn the camera off and on, the settings are not memorized. Can CHDK set these two options like autoexe.bat when I turn on A650?

*

Offline fe50

  • ******
  • 3147
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: A650 Startup Configuration
« Reply #1 on: 04 / September / 2008, 03:20:39 »
I like to shoot with spot metering mode and continuous drive mode on my a650. However, when I turn the camera off and on, the settings are not memorized. Can CHDK set these two options like autoexe.bat when I turn on A650?

Hi oversky,
you can do it with a script (emulating the key strokes, use "exit_alt" at the end to leave the Alt-mode) & use this with the Script Autostart, so always on power on the script will be executed...
 

*

Offline dzsemx

  • ****
  • 302
  • [SX40HS][A650][A630]
Re: A650 Startup Configuration
« Reply #2 on: 04 / September / 2008, 08:50:53 »
but after that, we have to load manually other script, and so on...
i think it would be easy to implement such an autoexec script feature
(execute a script on startup, other than the "current" one)
we have all the functions ready made for loading and executing a script

*

Offline fe50

  • ******
  • 3147
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: A650 Startup Configuration
« Reply #3 on: 04 / September / 2008, 09:14:43 »
but after that, we have to load manually other script, and so on...
i think it would be easy to implement such an autoexec script feature
(execute a script on startup, other than the "current" one)
we have all the functions ready made for loading and executing a script

Yes, but it's a matter of time to do (code) this...


Re: A650 Startup Configuration
« Reply #4 on: 04 / September / 2008, 18:56:04 »
Thanks for all responses, I will check out the script functions.

Re: A650 Startup Configuration
« Reply #5 on: 08 / September / 2008, 01:24:20 »
uBasic is easier than I thought. But it took me several trials to get a working sleep time between two commands. Is "sleep 100" a normal value?

@title Startup Script
sleep 2000
click "set"
sleep 100
click "down"
sleep 100
click "right"
sleep 100
click "down"
sleep 100
click "down"
sleep 100
click "down"
sleep 100
click "left"
sleep 100
click "set"
exit_alt
end

*

Offline fe50

  • ******
  • 3147
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: A650 Startup Configuration
« Reply #6 on: 08 / September / 2008, 08:20:13 »
uBasic is easier than I thought. But it took me several trials to get a working sleep time between two commands. Is "sleep 100" a normal value?...

sleep 100 = 0.1 s - it's camera dependent, if the sleep time is too low, the "keypress" will not be recognized; 100ms seems to be safe for most cameras...

Re: A650 Startup Configuration
« Reply #7 on: 24 / May / 2010, 15:38:50 »
If your problem is the same as mine, an "autoexect script on startup" feature would probably also fail. The issue would appear to be that CHDK starts before storage is readable, and therefor fails to read its config file. I didn't even know that the CHDK splash screen had a logo until I modified CHDK to sleep 12s instead of 4s before starting up (see core_spytask in core/main.c).


 

Related Topics