File: 85.htm

package info (click to toggle)
eagle 4.16-5
  • links: PTS
  • area: non-free
  • in suites: etch, etch-m68k
  • size: 36,508 kB
  • sloc: sh: 82; makefile: 32
file content (84 lines) | stat: -rw-r--r-- 2,675 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<html>
<head>
<title>EAGLE Help: SCRIPT</title>
</head>
<body bgcolor=white>
<font face=Helvetica,Arial>
<hr>
<i>EAGLE Help</i>
<h1><center>SCRIPT</center></h1>
<hr>
<dl>
<dt>
<b>Function</b>
<dd>
Executes a command file.
<p>
<dt>
<b>Syntax</b>
<dd>
<tt>SCRIPT file_name;</tt>
<p>
</dl>
<b>See also</b> <a href=86.htm>SET</a>,
<a href=58.htm>MENU</a>,
<a href=28.htm>ASSIGN</a>,
<a href=46.htm>EXPORT</a>,
<a href=84.htm>RUN</a>
<p>
The SCRIPT command is used to execute sequences of commands that are
stored in a script file. If SCRIPT is typed in at the keyboard "file_name"
can contain any extension. If no extension is given the program automatically
uses ".scr".
<p>
<b>Examples</b>
<p>
<table>
<tr><td valign=top><font face=Helvetica,Arial><tt>SCRIPT nofill</tt>     </font></td><td valign=top><font face=Helvetica,Arial>executes nofill.scr</font></td></tr>
<tr><td valign=top><font face=Helvetica,Arial><tt>SCRIPT myscr.</tt>     </font></td><td valign=top><font face=Helvetica,Arial>executes myscr (no Suffix)</font></td></tr>
<tr><td valign=top><font face=Helvetica,Arial><tt>SCRIPT myscr.old</tt>  </font></td><td valign=top><font face=Helvetica,Arial>executes myscr.old</font></td></tr>
</table>
<p>
Please refer to the EXPORT command for different possibilities
of script files.
<p>
If the SCRIPT command is selected with the mouse, a popup menu will
show all of the files which have the extension ".scr" so that
they can be selected and executed.
<p>
The SCRIPT command provides the ability to customize
the program according to your own wishes. For instance:
<ul>
<li>change the command menu
<li>assign keys
<li>load pc board shapes
<li>change colors
</ul>
<u>Continued Lines</u>
<p>
SCRIPT files contain one or more commands in every line according
to the syntax rules. The character '\' at the end of a command line ensures
that the first word of the next line is not interpreted as a command.
This feature allows you to avoid apostrophes in many cases.
<p>
<u>Set Default Parameters</u>
<p>
The SCRIPT file eagle.scr - if it exists in the project
directory or in the <a href=13.htm>script path</a> - is executed each time
a new drawing is loaded into an editor window (or when the drawing type is changed
in a library).
<p>
<u>Execute Script Files in the Library Editor</u>
<p>
All of the layers are recognized only if the library editor has previously been loaded.

<hr>
<table width=100% cellspacing=0 border=0><tr><td align=left><font face=Helvetica,Arial>
<a href=index.htm>Index</a>
</font></td><td align=right><font face=Helvetica,Arial size=-1>
<i>Copyright &copy; 2005 CadSoft Computer GmbH</i>
</font></td></tr></table>
<hr>
</font>
</body>
</html>