User Guide

Table Of Contents
This file can contain all those commands that are to be carried out
wheneveraneditorwindow(otherthanthetexteditor)isopened.
The SCH, BRD and LBR labels indicate those segments within the file
which are only to be executed if the Schematic, Layout or Library Editor
windowisopened.
The DEV, SYM and PAC labels indicate those segments within the file
which are only to be executed if the device, symbol or package editor
modeisactivated.
Commands which are defined before the first label (normally BRD:) are
validforallEditorwindows.
If, because of the specifications in a project file, EAGLE opens one or
more editor windows when it starts, it is necessary to close these and to
reopen them so that the settings in eagle.scr are adopted. It is, as an al
-
ternative, possible simply to read the file eagle.scr through the SCRIPT
command.
Commentscanbeincludedinascriptfilebyprecedingthemwith #.
Exampleofaneagle.scrfile:
# This file can be used to configure the editor windows.
Assign AF3 'Window 4;';
Assign AF4 'Window 0.25;';
Assign AF7 'Grid mm;';
Assign AF8 'Grid inch;';
# net class configuration
grid mm;
Class 0 Default 0.3 0.2 0.6;
Class 1 Power 0.8 0.5 0.8;
grid default;
BRD:
#Menu Add Change Copy Delete Display Grid Group Move\
# Name Quit Rect Route Script Show Signal Split \
# Text Value Via Window ';' Wire Write Edit;
Grid inch 0.05 on;
Grid alt inch 0.01;
Set Pad_names on;
Set Width_menu 0.008 0.01 0.016;
Set Drill_menu 0.024 0.032 0.040;
Set Size_menu 0.05 0.07 0.12;
Set Used_layers 1 16 17 18 19 20 21 22 23 24 25 26 \
27 28 39 40 41 42 43 44 45;
Change width 0.01;
Change drill 0.024;
Change size 0.07;
SCH:
Grid Default;
84
EAGLEManual