Assembla home | Assembla project page
 

root/branches/grand/script/zoom.bas

Revision 78, 468 bytes (checked in by GrAnd, 2 years ago)

Merged with trunk r77

Line 
1 rem Zoom to object
2
3 @title Zoom and Shoot
4 @param a Shoot count
5 @default a 8
6 @param b Zoom step
7 @default b 1
8
9 if a<2 then let a=8
10 if b<1 then let b=1
11
12 sleep 500
13 print "Shoot 1 of", a
14 shoot
15
16 for s=2 to a
17     for n=1 to b
18         print "Zooming-in ", n; "..."
19         click "zoom_in"
20         sleep 600
21     next n
22
23     print "Shoot", s, "of", a
24     shoot
25 next s
26
27 sleep 500
28 for s=1 to a*b-1
29     print "Zooming-out ", s; "..."
30     click "zoom_out"
31     sleep 600
32 next s
33
34 end
Note: See TracBrowser for help on using the browser.