Show Contents / Index / Search

Legacy Reflection Macros

Note: To use legacy macros in Reflection, the associated compatibility feature must be installed. For more information, see the Reflection Administrator's Reference.

Reflection supports the following macro file formats:

  • Settings files (.rsf,.r2w,.r4w)
  • SharedMacros (.rma)
  • Reflection Basic scripts (.rbs)
  • Reflection Command Line scripts (.rcl)

You can open a settings file in the workspace, or run legacy macros as an external file. You can only run RCL scripts when a VT session document is active in the workspace.

To run a legacy Reflection macro

  1. (Recommended) If your legacy macro was created in Reflection 10.x or earlier, save it in Reflection 14.x.
  2. Click the Reflection button, and then select Reflection Workspace Settings.
  3. Under Trust Center, click Set Up API and Macro Security.
  4. From the Legacy API preference menu, select Reflection, and then click OK.
  5. On the Session ribbon, click the Run Macro button.
  6. From the Run Macro dialog box, specify the legacy macro that you want to run.

Note: If the macro contains unsupported objects and methods, it may not run. For a list of unsupported objects and methods, see the Reflection VBA Guide (Help > VBA Guide). If your legacy macros use early binding, and if they return compiling errors when you run them, change their Reflection namespace references from Reflection to ReflectionCOM.

Related Topics

Run a Macro