how do I shoot_full wihtout auto refocus (manual) - Script Writing - CHDK Forum

how do I shoot_full wihtout auto refocus (manual)

  • 4 Replies
  • 2780 Views
*

Offline you1

  • *
  • 10
how do I shoot_full wihtout auto refocus (manual)
« on: 01 / June / 2009, 14:37:35 »
Advertisements

Re: how do I shoot_full wihtout auto refocus (manual)
« Reply #1 on: 01 / June / 2009, 15:33:09 »

*

Offline you1

  • *
  • 10
Re: how do I shoot_full wihtout auto refocus (manual)
« Reply #2 on: 01 / June / 2009, 16:29:12 »
Thank you David,

I guess I've had several issues, which why I didn't recognize example 9 (AFL) working properly.

When i click on the "remote" button, the
  • screen goes black
  • The ALT  button turns ON
  • The focus orange led flashes
  • After 10 seconds, the picture is taken.

Alternatively, I would have to press the "remote" button the second time (before 10 seconds), or hold it down a little longer (first time) to snap the picture.

How can I avoid the above "timed" delay on the first click?

Here is the test code snippet:

Code: [Select]
@title aClick

rem init focus
  sleep_for 1000
  press "shoot_half"
  sleep_for 1000
  lock_autofocus
  sleep 1000
  "! locked"
  "! 'AFL' top left"
  release "shoot_half"
 
rem shoot without re-focusing
  while (1)
    wait_for_switch_press
    click "shoot_full"
    "snap"
  wend
 end

Re: how do I shoot_full wihtout auto refocus (manual)
« Reply #3 on: 01 / June / 2009, 17:06:23 »
Just tried it on my A620 and it works fine.

REMEMBER .. if you are in synch mode it wait for switch release or ten second time-out.

To cancel synch mode directly press the shutter button.

Alternatively, put set_sync 0 0 0 0  at start of your code.

(I will add the friendlier 'synch_on' and 'synch_off' in future releases).


Does that work  ?


(in ordinary non-ALT mode, half-press + right button cancels autofocus lock).


David
« Last Edit: 01 / June / 2009, 17:10:26 by Microfunguy »


*

Offline you1

  • *
  • 10
Re: how do I shoot_full wihtout auto refocus (manual)
« Reply #4 on: 01 / June / 2009, 17:26:46 »
Yes, that works great.

Thank you for taking the time to help me out.

Best
Edvin

 

Related Topics