Subject: Creating and replaying scripts



CADdirect can record anything you type on the keyboard and any points you select in a drawing. You can save all of these actions to a script file (with the *.scr exten­sion) and then repeat them by replaying the script. You can use scripts for succes­sively repeating commands, showing snapshots in a slide show, or batch printing. You can also load and run script files created for use with AutoCAD.

A script is a form of text file that contains one line of text or other data for each action. CADdirect includes a Script Recorder that records both command line entries and screen picks you make with your mouse. For example, when you type a com­mand and press Enter, it is recorded on a line in the script file. When you select a point in a drawing, the coordinate of that point is recorded on a line in the script file.

You can also create script files outside CADdirect using a text editor (such as Micro­soft® Notepad or Microsoft® WordPad) or a word-processing program (such as Microsoft® Word) that saves the file in ASCII format. The file type and extension must be .scr.

Tell me about...

Recording scripts

Replaying scripts

Modifying scripts

Customizing script files using a text editor

Creating_and_replaying_scripts
© Copyright 2022. BackToCAD Technologies LLC. All rights reserved. Kazmierczak® is a registered trademark of Kazmierczak Software GmbH. Print2CAD, CADdirect, CAD.direct, CAD Direct, CAD.bot, CAD Bot, are Trademarks of BackToCAD Technologies LLC. DWG is the name of Autodesk’s proprietary file format and technology used in AutoCAD® software and related products. Autodesk, the Autodesk logo, AutoCAD, DWG are registered trademarks or trademarks of Autodesk, Inc. All other brand names, product names, or trademarks belong to their respective holders. This website is independent of Autodesk, Inc., and is not authorized by, endorsed by, sponsored by, affiliated with, or otherwise approved by Autodesk, Inc. The material and software have been placed on this Internet site under the authority of the copyright owner for the sole purpose of viewing of the materials by users of this site. Users, press or journalists are not authorized to reproduce any of the materials in any form or by any means, electronic or mechanical, including data storage and retrieval systems, recording, printing or photocopying.