Command Entry: SCRIPT
← Prev | ↑ Chapter | Next → | Index | Symbols
Command Entry: SCRIPT
Name
SCRIPT
Aliases
SCR
Synopsis
Executes a sequence of commands from a script (SCR) file.
Options
None.
Argument Sequence
Opens a file-selection dialog with no command-line input (unless FILEDIA is 0); the chosen script runs immediately.
Description
Runs a script file, a text file with an .scr extension in which each line contains a command to be executed at the Command prompt. A file-selection dialog appears (or a prompt when FILEDIA is 0), and the script can be stopped with Esc.
Category
system
Availability
- AutoCAD, all versions: documented.
- BricsCAD, all versions: documented.
- clautolisp: Not yet implemented: (command …) stops at it, with a "; cador:" notice on the console and no AutoLISP error; the call is recorded on the command log.
Compatibility
AutoCAD all; BricsCAD all.
clautolisp
Not yet implemented: (command …) stops at it, with a "; cador:" notice on the console and no AutoLISP error; the call is recorded on the command log. Support tier: deferred – in scope eventually, not scheduled now.