2012
Table Of Contents
- Contents
- Basic Customization
- Custom Linetypes
- Custom Hatch Patterns
- User Interface Customization
- Understand User Interface Customization
- Work with the Customize User Interface (CUI) Editor
- Create and Manage Customization Files
- Customize Commands
- Customize User Interface Elements
- Customize Workspaces
- Transfer and Migrate Customization
- Customize User Interface (CUI) Editor FAQs
- DIESEL
- Slides and Command Scripts
- Migrate and Transfer Custom Settings and Files
- Index
Run Slide Shows from Scripts
Scripts are useful for creating slide shows.
Scripts are useful for creating slide shows. Ordinarily, the speed with which
you can display slides is limited by the number of times AutoCAD LT must
access the disk to read the slide file. You can, however, preload the next slide
from disk into memory while your audience is viewing the current slide and
then quickly display the new slide from memory.
To preload a slide, place an asterisk before the file name in VSLIDE. The next
VSLIDE command detects that a slide has been preloaded and displays it
without asking for a file name.
The disk-access time to load the next slide overlaps with the viewing time for
the current slide. You can specify additional delays with the DELAY command.
Each delay unit is equal to one millisecond.
To stop a repeating script press ESC. You can resume the script with RESUME.
If the script will run for a long time, it is recommended that you use UNDO
Control None to turn off the Undo log file.
To run slide shows from scripts
1 Create the slide library file as described in
To create a slide library on page
346.
2 Create a script file using an ASCII text editor, as shown in To create a
script that preloads slides
on page 352.
3 At the command prompt, enter script.
4 In the Select Script File dialog box, select a script file and click Open.
To create a script that preloads slides
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.
1 On the first line of the script, enter vslide slide1.
The first line begins the slide show and loads slide1.
2 On the second line, enter vslide *slide2.
The asterisk (*) preceding the slide name on the second line preloads
slide2.
352 | Chapter 6 Slides and Command Scripts