S95 chdk script crashes - Script Writing - CHDK Forum

S95 chdk script crashes

  • 1 Replies
  • 2068 Views
*

diddy1981

S95 chdk script crashes
« on: 11 / November / 2012, 07:00:35 »
Advertisements
Hello,

if have a littel problem with my chdk script. I'm using a S95 with fw 1.00e. The script crashes every time when the shoot_full_only command is used.
The full script is as follows:
Code: [Select]
@title Remote shutter
@param d Display 0=off 1=on
@default d 1


print "changing to MF"
click "mf"

print "set focus to infinit"
set_focus 65535
sleep 500

print "set Auto-ISO"
set_iso_mode 0
sleep 500

print "set aperture to 4"
set_av 12
sleep 500

print "ready for KAP! :-) "


:loop
wait_click 1
is_key k "remote"
if k=1 then
set_zoom(0)
sleep(1000)
shoot_full_only
set_zoom(4)
sleep(1000)
shoot_full_only
endif
goto "loop"
end

Hopefully you can help.


*

Offline srsa_4c

  • ******
  • 4451
Re: S95 chdk script crashes
« Reply #1 on: 11 / November / 2012, 07:16:20 »
Hello,

if have a littel problem with my chdk script. I'm using a S95 with fw 1.00e. The script crashes every time when the shoot_full_only command is used.
shoot_full_only is not a command, it's the name of a button. I assume you want to use it like this:
Code: [Select]
click "shoot_full_only"See the scripting cross reference page on the wiki.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal