HTML GUI Editor

The HTML GUI Editor is AdvantageBuilder’s built‑in text editor for creating and modifying Macro GUI files. It is used to edit HTML, CSS, JavaScript, and any other text files that make up your GUI pages. The editor does not execute scripts or interact with runtime APIs — it is strictly for editing text.

Overview

Macro GUI pages are HTML‑based user interfaces launched from Main Macros. The HTML GUI Editor provides a simple environment for editing these pages. It is not a browser, not a runtime engine, and not a visual designer — it is a text editor focused on Macro GUI development.

You open the HTML GUI Editor by selecting a Macro GUI file in the Macro GUI folder and choosing View or Edit.

What You Can Edit

The HTML GUI Editor can edit any text file, including:

The editor does not restrict file types — if it is text, you can edit it.

Editor Features

The HTML GUI Editor provides:

HTML Auto Code

A typing minimisation feature that provides a hierarchical pop-up menu containing commonly used HTML elements. Simply point and click to insert the selected element's source code directly into your document.

JScript Snippet Library

Contains a collection of reusable JScript code snippets. These snippets can be inserted into your HTML or JavaScript files to speed up development and reduce repetitive coding.

Editor Snippet Library

Provides a collection of ready-to-use code snippets, including complete HTML document templates and core techniques. Some of the more important templates and techniques include:

Macro GUI Helpers

Macro GUI Helpers appear under the Macro GUI Helpers folder in the Macros - Main tab. They generate starter HTML pages that you can then edit in the HTML GUI Editor.

Examples include:

These helpers create the initial HTML/CSS/JS files — the HTML GUI Editor is where you refine and customise them.

What the HTML GUI Editor Does Not Do

To avoid confusion, here is what the HTML GUI Editor does not do:

All runtime behaviour happens when the GUI page is launched using showHTMLForm, launchHTMLForm, or launchHTMLFormEdge.

Typical Workflow

A common Macro GUI development workflow looks like this:

  1. Create a new GUI page using a Macro GUI Helper (optional)
  2. Open the HTML GUI Editor
  3. Edit HTML, CSS, and JavaScript
  4. Save the file
  5. Launch the GUI page from a Main Macro
  6. Use QueryString, macroGUIParams, or args to pass data
  7. Repeat and refine

This workflow keeps GUI development simple, modular, and easy to maintain.