Device Monitoring Studio - TODO
Docs

Scripting Site Object

Scripting Site object provides a way for a script to display text in script console window (see alert function for more information). It also allows a script to query a user for some text, using the input function.

Event binding has changed in version 7.13. Now objects expose events directly. User script may bind an anonymous JavaScript function to be called when event is fired.

Scripting site object also provides the ability for delayed execution using async function. cancelAsync function may be used to cancel delayed execution. loadTextFile function can be used to load the contents of a text file into a string variable.

delay function returns a promise object that gets completed in a given number of milliseconds.

The Scripting Site object is “virtual”. Its methods are declared in global scope.