camera sometimes hangs after focusing: problemwith USB remote script - page 2 - Script Writing - CHDK Forum

camera sometimes hangs after focusing: problemwith USB remote script

  • 10 Replies
  • 7002 Views
Re: camera sometimes hangs after focusing: problemwith USB remote script
« Reply #10 on: 10 / September / 2008, 00:18:32 »
Advertisements
Hello,

I have a nice little script that may help. The way to use it is to hold down the button, doing this presses the shutter half way, when you release, it takes the picture. This seems to take pictures fast because it is ready to shoot when you let go. If you click and don't hold down it just takes the picture.

I am not sure if i need the sleep in there, this is the first script I have written.

Code: (freebasic) [Select]
@title Focus Remote Button
while 1
wait_click 1
if is_key "remote" then
press "shoot_half"
while is_key "remote"
sleep 100
wend

shoot
endif
wend
end

-gabe

 

Related Topics


SimplePortal © 2008-2014, SimplePortal