Chapter 13. Creating Dialogs and Menu Items
UL programs can receive user input through command-line arguments, but it’s easier for the user to enter data using dialogs. A good example of this is the drillcfg.ulp program discussed in Chapter 7, “Generating and Submitting Output Files.” To create a drill rack file, this program displays dialogs asking for unit selection, drill rack verification, and file storage. This information would be difficult to obtain using command-line arguments only.
Thankfully, the User Language provides many ways to create dialogs for EAGLE. Most of this chapter is devoted to explaining how these dialogs can be configured, and I’ll focus on three aspects:
1. Predefined dialogs—Four dialog types that can be quickly inserted ...
Get Designing Circuit Boards with EAGLE: Make High-Quality PCBs at Low Cost now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.