##### Compile

After you have created pages and are ready to test them, you must compile. This option takes the pages that you created and produces the Genesys Agent Scripting ASP, ASPX, or JSP code. The Compile option compiles all objects (for example, pages, fields, actions) in the current project book. If there are a large number of pages, this might take some time. In order to save time, the user can choose to compile incremental changes.

Selecting the Compile option opens the Genesys Agent Scripting Compile dialog box. Also, Selecting F5 displays the Compile dialog box.

Use the Target Environment button to select the Target Environment you want to edit. The corresponding drop-down list allows you to select from all defined target environments.

Note: Beginning with release 7.2.0, all options set in the Compile dialog are specific to the Target Environment. When you change the Target Environment, the editor displays the options that are specific to your new choice.

## Only Generate Changed Objects

If this option is checked, Genesys Agent Scripting will only compile objects that have been changed since the last compile. This will cut down on compile time for large project books.

## Compile Immediately on Open

Checking this option will cause Genesys Agent Scripting to compile the code automatically whenever launched.

## Simulate Automatically when Finished Compiling

If this option is checked, the simulation will automatically be launched in a web browser as soon as Genesys Agent Scripting has finished compiling.

## Compiling Scripts

This provides a progress bar to indicate the progress of the compile.

## Simulate

The Simulate button will launch the simulation as described under the Simulate menu option.

## Compile

This option will convert the pages into ASP, ASPX, or JSP code.