Repository navigation
SCRIPT Command
Hakan Seven edited this page Nov 8, 2026
·
1 revision
Runs the commands in a script (.scr) file, one row after another.
| Command | SCRIPT |
| Web app | In the web app you pick the script file through the browser; typed paths are not read. |
| Since | 0.1.0 |
- Type
SCRIPT. A file dialog opens for script files (*.scr). - Pick the file. The command line reports how many commands it will run, and each row runs in turn.
You can also give the path directly: SCRIPT "C:\scripts\setup.scr".
- Each row is fed to the command line as if you typed it.
- Rows that start with
#or;are comments and are skipped. - A blank row presses Enter for the running command.
- While a script runs, file commands such as
SAVEASandOPENask at the command line instead of opening a dialog. - The program can also run a script at startup or in batch mode from its own command-line flags (desktop only).
Open CAD Studio is free software under the GPL-3.0 licence · Source code · Download · Web app · Discussions
Get started
- Installation
- Your First Drawing
- Tutorials
- The User Interface
- Ribbon Reference
- Workspaces and Toolbars
- Navigating the Drawing
Draw and edit
- Drawing Setup and Units
- Precision Drawing
- Isometric Drafting
- Drawing Objects
- Multilines
- Selecting Objects
- Modifying Objects
- Hatches and Fills
- Layers and Properties
Annotate
Organise and reuse
Present and share
3D
Tools
Reference