• progeCAD in French Language
  • progeCAD in Spanish Language
  • progeCAD in English Language
 >  >  > Creating and replaying... 

Creating and replaying scripts

Creating and replaying scripts

Creating and replaying scripts

progeCAD 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 printing. You can also load and run script files created for use with AutoCAD.

progeCAD supports most AutoCAD customization files, including menus, script files, and LISP routines. progeCAD 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 progeCAD 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 and extension 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.

progeCAD improves on scripts, AutoLISP, and ADS by providing additional functions. For scripts, progeCAD 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.


Using scripts

Append to a script

Record a script

Replay a script

Stop recording

  • Google +One
 
DWG is the native file format for Autodesk AutoCAD®. Autodesk and AutoCAD are registered trademarks or trademarks of Autodesk, Inc. in the USA and/or other countries. progeSOFT and progeCAD are registered trademarks or trademarks of progeCAD s.r.l. in the USA and/or other countries.