Delphi Script source files

www.kxcad.net Home > Electronic Index > Altium(Protel) Index


Your Ad Here

You open a script project in DXP and you can edit the contents of a script inside the DXP. A script project is organized to store script documents (script units and script forms). You can execute the script from a menu item, toolbar button or from the Run Script dialog from the DXP’s system menu.

PRJSCR, PAS and DFM files

The scripts are organized into projects with a PRJSCR extension. Each project consists of files with a pas extension. Files can be either script units or script forms (each form has a script file with pas extension and a corresponding form with a dfm extension). A script form is a graphical window that hosts different controls that run on top of DXP.

However it is possible to attach scripts to different projects and it is highly recommended to organize scripts into different projects to manage the number of scripts and their procedures / functions.

Scripts (script units and script forms) consist of functions/procedures that you can call within DXP.

Example scripts

There are example script projects in the Scripts folder of DXP located in the \Program Files\Altium2004\Examples\Scripts folder. You can open each script project in DXP and experiment with the scripts.

Your Ad Here