Setting focus with no MF mode - Script Writing - CHDK Forum

Setting focus with no MF mode

  • 1 Replies
  • 2655 Views
Setting focus with no MF mode
« on: 12 / October / 2012, 18:53:30 »
Advertisements
I'm playing with an A480 cheapie which doesn't have a Manual Focus mode.
Focus distance is settable and works in the default menu :D but I can't do it in a script :'(. Trying with variations of
click "shoot_half"
set_focus X
q=get_focus
set_aflock 1
click "shoot_full"
q=get_focus
with sleeps and prints - I see q always gets changed in the shoot_full.
So the default script calls must have lower level routines available? (How do I access those  ;) )
Or am I missing something?

There are suggestions that it's doable, in old posts - is it camera specific or same with all AF-only ones?
And - is it the same story for setting Aperure(NDfilter)/shutter where there's no manual exposure mode?
Thanks.

Re: Setting focus with no MF mode
« Reply #1 on: 12 / October / 2012, 22:50:23 »
I'm playing with an A480 cheapie which doesn't have a Manual Focus mode.
Focus distance is settable and works in the default menu :D but I can't do it in a script :'(. Trying with variations of
click "shoot_half"
sleep 2000
set_focus X
q=get_focus
set_aflock 1
click "shoot_full"
q=get_focus
with sleeps and prints - I see q always gets changed in the shoot_full.
So the default script calls must have lower level routines available? (How do I access those  ;) )
Or am I missing something?

There are suggestions that it's doable, in old posts - is it camera specific or same with all AF-only ones?
And - is it the same story for setting Aperure(NDfilter)/shutter where there's no manual exposure mode?
Thanks.
What happens if you try this ?

Code: [Select]
press "shoot_half"
set_focus X
q=get_focus
click "shoot_full"
q=get_focus
release "shoot_half"
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics


SimplePortal © 2008-2014, SimplePortal