JavaScript Developer Reference

The SetupJS runtime provides the scripting environment used by AdvantageBuilder macros and templates. It supports both JScript.NET (VSA) and ClearScript V8 engines, exposing a unified API surface for database access, UI interaction, HTML forms, macro execution, JSON handling, ObjectStore, and .NET/COM interop.

Overview

AdvantageBuilder’s JavaScript runtime is a hybrid environment supporting:

Both engines expose the same AdvantageBuilder API surface, allowing macros and templates to run consistently regardless of engine choice.

Error Handling

Output

User Interaction

Timing / Event Loop

Database Access

HTML Forms (IE Engine)

HTML Forms (Edge Engine)

Clipboard

GUI / Editor / Status

Dataset / Data

Macro Execution

Variables

ObjectStore

.NET / COM Interop

JSON

Macro Scheduler

Macro GUI

Interop Helpers

Metadata Constructors