This example displays a list of currently available macros. For example, if you run this macro from a settings file that contains macros called "Login" and "CloseSession" and also includes a reference to a Sample.rsf settings file that contains this "DisplayMacros" macro, the message box would display the string "CloseSession,Login,Sample.NewMacros.DisplayMacros". (Quotation marks are not included in the returned string.)
Sub DisplayMacros
Dim macroList as String
macroList = Session.GetMacroList
Msgbox macroList
End Sub