In this chapter, we will cover the following recipes:
Exec macros to repeat simple commands
Building a Global macro to create a custom graph layout
Obtaining input from the session window with a Global macro
Creating a Local macro
Local macros with subcommands, submacros, and control statements