Author Topic: more than 30 seconds custom timer  (Read 1123 times)

Offline ghorian

  • Newbie
  • *
  • Posts: 2
more than 30 seconds custom timer
« on: 11 / August / 2008, 05:36:11 »
Hi, I'd need a 60-seconds custom timer on my S3 IS, then do a burst of up to 30 shots.

Is such a script available?

Greg

Online fe50

  • Guru Member
  • ******
  • Posts: 2609
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: more than 30 seconds custom timer
« Reply #1 on: 11 / August / 2008, 05:55:27 »
Hello & welcome Greg,

try this (a fast hack):

Code: sdlBasic
  1. @title 60s timer
  2. @param a Shoot count
  3. @default a 30
  4.  
  5. print "Now waiting for 60s..."
  6. sleep 60000
  7. print "Now let's start shooting..."
  8.  
  9. for n=1 to a
  10.  print "Shoot", n, "of", a
  11.  shoot
  12. next n
  13.  
  14. end

Attached you'll find the file "60sTimer.bas" also as ready2use download...

Offline ghorian

  • Newbie
  • *
  • Posts: 2
Re: more than 30 seconds custom timer
« Reply #2 on: 12 / August / 2008, 05:24:53 »
Wonderful, thank you! This has got me started nicely.

As I need the highest possible frame rate, I changed the script to use the press/release commands.  It requires the camera to be set to continuous shooting mode before the script starts.  The result is perfect for my needs.  Thanks again.

-------------------------------

@title custom timer
@param t timer in seconds
@param b burst length in seconds
@default t 60
@default b 15
 
print t, "seconds custom timer"
sleep t * 1000
 
print "shooting a", b, "seconds burst"
press "shoot_full"
sleep b * 1000
release "shoot_full"
print "done"
 
end

---------------------------------

Greg

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal