User Guide

FontLab 4
692
Ma c r o To o l bar
You can use macro programs without any programming. FontLab includes
some sample programs in its basic installation and more programs are
available from our web site and from other sources.
The easiest way to run a macro program is to use the Macro toolbar. To
open the toolbar click: View > Toolbars > Macro. If this command is
disabled it means that the Python system is not installed. Exit FontLab;
follow the instructions above to install Python 2.2.1 and then run FontLab
again to activate the Macro features.
When the Macro toolbar appears it looks like this:
Let’s describe the contents of the toolbar from left to right:
Python tool selector. A Python tool is an editing tool (like Edit, Meter or
Sketch) which has all its functions defined in Python. I.e. a FontLab tool
written in Python.
Macro program selectors. The Left combo box allows you to select one
of the categories of programs and the right combo box selects the program
within the category.
Run the program selected in the list described above.
Stop the program that is running
Open the currently selected program in the Edit Macro Panel for editing
Restart the Python system. Use this command to reload all standard libraries
and free all memory allocated by the Python system
Assign the currently selected program to a key combination