simple change to a script - Script Writing - CHDK Forum

simple change to a script

  • 2 Replies

Offline bugbear

  • **
  • 57
  • A630
    • woodwork on geocities
simple change to a script
« on: 29 / October / 2010, 10:10:29 »
I'm using Ultra_Intervalometer (

I want to pre-set the focus (actually, I want to use auto-focus on a half touch, and then focus lock), but allow the camera to adjust the exposure under aperture priority mode during the script run.

If I want my camera to behave as if I'd simply full-pressed the shutter button, what do I replace the scripts
Code: [Select]
"shoot" command with?

Is it as simple as
Code: [Select]
press "shoot_full"


Offline reyalp

  • ******
  • 14087
Re: simple change to a script
« Reply #1 on: 29 / October / 2010, 12:36:27 »
If you want to emulate a quick shutter press, you should probably do shoot_half and shoot_full in quick succession, and release them in reverse order when done.

Code: [Select]
press "shoot_half"
press "shoot_full"
sleep 10
release "shoot_full"
release "shoot_half"
you could also try
click "shoot_full"

In general, when scripting button presses, it's a good idea to make them as close to what a human would do as possible.

Also note that some CHDK ports have issues with raw and/or overrides (including script overrides) if you press the shutter quickly.
Don't forget what the H stands for.

simple change to a script
« Reply #2 on: 10 / November / 2010, 18:30:57 »
I dont know why but Im getting alot of errors with this script. it first says tabs instead of spaces so i fix that then i get about 30 other errors from that. Could it be that Im using SVN 10068?


Related Topics

SimplePortal 2.3.6 © 2008-2014, SimplePortal