Creating and replaying scripts

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

IntelliCAD supports most AutoCAD customization files, including menus, script files, and LISP routines. IntelliCAD uses compatible linetypes, hatch patterns, units translation, and command aliases, but you can also substitute your own files for these. This feature allows you to continue to work with your favorite customized drafting environment.

Scripts are a form of text file. A script file contains one line of text or other data for each action. For example, when you type a command and press Enter, it is recorded on a line in the script file. When you select a point in the drawing, the coordinate of that point is recorded on a line in the script file. You can also create script files outside IntelliCAD using a text editor (such as Windows Notepad or Windows WordPad) or a word processor (such as Microsoft Word) that saves the file in ASCII format. The file type must be .scr.

Script files can contain comments. Any line that begins with a semicolon is considered a comment. The program ignores these lines when replaying the script. The undo feature reverses the last command performed by the script.

IntelliCAD improves on scripts, AutoLISP, and ADS by providing additional functions. For scripts, IntelliCAD includes a Script Recorder that records both command line entries and screen picks you make with your mouse.

After you activate the Script Recorder, every keyboard entry you make and any points you select in a drawing are recorded until you stop the Script Recorder. You can play back your script at any time.


CAUTION The script recorder does not record your use of toolbars, menus, or dialog boxes. Using these elements while recording a script causes unpredictable results.


Tell me about...

Using scripts

How do I...

Append to a script

Record a script

Replay a script

Stop recording