GetInterface()

Summary

Gets the name of the UI Database that a macro is in.

Syntax

ui_name = GetInterface(string macro_name)

Argument Contents
macro_name The name of the macro, or null for the currently running macro

Returns

The name of the UI Database.

Notes

  • If macro_name is supplied, returns the name of the UI Database that the macro is in.

  • If macro_name is null, returns the name of the UI Database that the currently running macro is in.

Error Codes

Error Type Meaning
NotFound The specified macro does not exist