Macros

This section provides information about how to write and debug macros. Macros are used to add functionality to your application. Some of the reasons you might want to create a macro include: connecting to a database, performing calculations on host data, saving a value to a global variable for reuse, transfer of data to other desktop applications, calling a web services, creating an object at runtime, dynamically setting the properties of an object at runtime, determining which selection the user has made, navigating to a specific screen and much, much more.

Macros support a wide variety of operations including conditional execution, the ability to access or change any data on the form, manipulation of form and control properties (such as fonts and colors), executing and communicating with other desktop applications, mathematical calculations and text manipulation.

Another alternative to macros are scripts. Generally speaking, if you are comfortable with scripting languages then scripts will be a better option as they provide you with more flexibility, however if you have little scripting experience, then macros may be easier to work with. Refer to the scripts section of Help for more information.

In this Section

What is a Macro?
Writing your first Macro
Debugging Macros

Related Sections

Using Newlook | Script Editor