User Guide

FontLab 4
698
Naming the Programs
When you are saving a program and want it to be used in the Macro
toolbar or to be integrated into one of the FontLab menus you need to
name it. There are two ways to name a program: you can store the name in
the file name (followed by the “.py” extension) or you can embed the name
into the program code. The latter way is recommended – it allows you to
keep the filename small but descriptive.
To name a program put the following line at the very beginning of the
program:
#FLM: <program name>
where the <program name> is the name of the program, as on the
following example:
#FLM: Shadow Effect
note that there is exactly one single space between #FLM: and the name.