O'Reilly logo

Designing Circuit Boards with EAGLE: Make High-Quality PCBs at Low Cost by Matthew Scarpino

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required