Assembla home | Assembla project page
 

root/branches/grand/script/interval-video.bas

Revision 86, 0.6 kB (checked in by GrAnd, 2 years ago)

Script: Interval video

Line 
1 @title Interval VIDEO
2
3 @param a Number of Videos
4 @default a 5
5
6 @param b Video length (min)
7 @default b 0
8 @param c Video length (sec)
9 @default c 10
10
11 @param d Interval (min)
12 @default d 0
13 @param e Interval (sec)
14 @default e 10
15
16 t=60000*b+1000*c
17 i=60000*d+1000*e
18
19 if a<2 then let a=5
20 if t<1000 then let t=1000
21 if i<2000 then let i=2000
22
23 sleep 1000
24
25 print "Video 1 of",a
26 click "shoot_full"
27 sleep t
28 click "shoot_full"
29
30 for s=2 to a
31     print "Waiting",d;"min",e;"sec"
32     sleep i
33
34     print "Video",s,"of",a
35     click "shoot_full"
36     sleep t
37     click "shoot_full"
38 next s
39
40 end
Note: See TracBrowser for help on using the browser.