Request: Random Intervalometer - page 2 - Script Writing - CHDK Forum
supplierdeeply

Request: Random Intervalometer

  • 12 Replies
  • 4643 Views
*

Offline reyalp

  • ******
  • 13291
Re: Request: Random Intervalometer
« Reply #10 on: 20 / August / 2010, 23:04:04 »
Advertisements
Something like this
Code: [Select]
rem Author - Keoeeit
rem Upgraded by Mika Tanninen
rem Time accuracy and shutdown for a710is by Viktoras Stanaitis
rem h-accuracy for delay, j-accuracy for interval
h=-1
j=-1755
@title Ultra Intervalometer
@param a Delay 1st Shot (Mins)
@default a 0
@param b Delay 1st Shot (Secs)
@default b 0
@param c Number of Shots (0 inf)
@default c 0
@param d Interval (Minutes)
@default d 0
@param e Interval (Seconds)
@default e 10
@param f Interval (10th Seconds)
@default f 0
@param p random delay min (seconds)
@default p 0
@param q random delay max (seconds)
@default q 0

n=0
t=(d*600+e*10+f)*100+j
if c<1 then let c=0
if t<100 then let t=100
g=(a*60)+b+h
if g<=0 then goto "interval"
for m=1 to g
 print "Intvl Begins:", (g-m)/60; "min", (g-m)%60; "sec"
 sleep 930
 next m
:interval
  n=n+1
  if c=0 then print "Shot", n else print "Shot", n, "of", c
  shoot
  if n=c then shut_down
  r = random p q
  sleep t + 1000 * r
  goto "interval"
Don't forget what the H stands for.

Re: Request: Random Intervalometer
« Reply #11 on: 21 / August / 2010, 15:03:04 »
Thanks!!  I'll give it a "shot". 

Re: Request: Random Intervalometer
« Reply #12 on: 29 / October / 2010, 19:14:12 »
It would be great to have a random shooter, great idea

 

Related Topics