- On the first line of the script, enter vslide slide1.
The first line begins the slide show and loads slide1.
- On the second line, enter vslide *slide2.
The asterisk (*) preceding the slide name on the second line preloads slide2.
- On the third line, enter delay 2000.
The third line specifies a delay of 2000 milliseconds to allow the audience to view slide1.
- On the fourth line, enter vslide. On the fifth line, enter vslide *slide3. On the sixth line, enter delay 2000.
The fourth, fifth, and sixth lines display slide2, preload slide3, and specify a delay for viewing slide2.
- On the seventh line, enter vslide. On the eighth line, enter delay 3000.
The seventh and eighth lines display slide3 and specify a delay for viewing slide3.
- On the last line, enter rscript to repeat the script.
- To stop a repeating script press Esc. To continue the script, enter resume.
The script may contain comments, as follows:
In this example of a script that displays three slides (files slide1.sld, slide2.sld, and slide3.sld), the time it takes to access the disk drive and load the next slide into memory overlaps with the viewing time for the current slide.
; Begin slide show, load SLIDE1 VSLIDE SLIDE1 ; Preload SLIDE2 VSLIDE *SLIDE2 ; Let audience view SLIDE1 DELAY 2000 ; Display SLIDE2 VSLIDE ; Preload SLIDE3 VSLIDE *SLIDE3 ; Let audience view SLIDE2 DELAY 2000 ; Display SLIDE3 VSLIDE ; Let audience view SLIDE3 DELAY 3000 ; Cycle RSCRIPT