Help files

Compiler Window

Once you click on the "Generate Exe" option in the Processes Tab the Compile Process dialog will appear:

This dialog contains a tab control on the left that allows you to navigate through its four sections.

Section 1: Name & Type


In the first section (Name & Type) you may specify the name of the resulting executable file as well as the folder under which it will be stored. By default the name will be the name of the Process and will be generated on the user's desktop.

Next you may specify whether you want to generate a Windows application or a command line application. The latter is mostly used for converting a Process into a command line tool and the most important difference is that in command line applications the "Display Notification" action will write its text in the command line output window.

Section 2: Process Info


In this section you can specify the name of your company, the version and a copyright notice. This info will be embedded into the generated application for documentation purposes only, meaning that they will not affect in any way the actual behavior of the Process.

You can also specify a custom icon for your application, which must be in the format of an ICO file. If you leave this field empty, the default WinAutomation icon will be used.

Section 3: Error Handling


In this section you can specify the behavior of the application if an error (unhandled exception) occurs. The available option depends on whether you have chosen to create a Windows Application or a Command Line Application (see section 1). In the former case you may choose whether you want a pop-up dialog to appear containing the error, while in the latter case (command line application) you may choose whether you want the error message to be written in the command line output window.

Note that a compiled Process that ends with an error will always return an Exit Code = 1. This is useful if you intend to run the generated application from another application or a batch file, in which case the caller application (or batch file) will be able to tell whether the compiled Process completed its execution successfully or not.

Section 4: Misc Options


In this section you may specify some additional settings for the application you are about to generate.

The first option is whether you want your Process to run as a single instance. By selecting this option, while a Process is running it will not start again on the same computer even if you double click on it. This way you can make sure that only one instance of the Process is running on your computer at any time.

The second option is whether you want your application to display the Notification window on the bottom right corner of the screen, just like a Process running from within WinAutomation would do.

The third option "Display In Task Bar" option allow you to select whether you want the Process to display its own icon in the Windows taskbar while running, or not.

Note that the three options described above are available only to Processes that are compiled as Windows Applications (see section 1).

The fourth option (available to any kind of compiled Process) is whether you want to encrypt the persistent variables or not. For more info on this one please check the page on Persistent Variables.

The last option, is whether you want the user to fill in an activation code in order to run the executable.