MacroNameFromWindow$()

Syntax

MacroNameFromWindow$([WindowNumber])

Remarks

Returns the name of the macro in the specified macro-editing window. If the specified window is not a macro-editing window, MacroNameFromWindow$() returns an empty string ("").

Argument

Explanation

WindowNumber

Specifies a window on the Window menu: 1 corresponds to the first window, 2 to the second window, and so on. If WindowNumber is 0 (zero) or omitted, the active window is assumed. If WindowNumber does not correspond to a number on the Window menu, an error occurs.


See Also

IsMacro(), MacroFileName$(), MacroName$()