2013

Table Of Contents
Command Scripts
A script reads and executes commands from a text file.
You can run a script when you start AutoCAD
®
, or you can run a script from within
AutoCAD using the SCRIPT command.
Create Command Scripts
A script is a text file that contains a series of commands. Common uses for
scripts are to customize startup and to automate repetitive tasks.
Overview of Command Scripts
A script is a text file with one command on each line.
You can invoke a script at startup, or you can run a script during a work session
by using the SCRIPT command. A script also provides an easy way to create
continuously running displays for product demonstrations and trade shows.
You create script files outside the program using a text editor (such as TextEdit)
that can save the file in ASCII format. The file extension must be .scr.
Each line of the script file contains a command. Each blank space in a script
file is significant because Spacebar is accepted as a command or data field
terminator. You must be very familiar with the sequence of prompts to provide
an appropriate sequence of responses in the script file.
NOTE Keep in mind that prompts and command names may change in future
releases, so you may need to revise your scripts when you upgrade to a later version
of this program. For similar reasons, avoid the use of abbreviations; future command
additions might create ambiguities.
6
75