Legacy Reflection Macros

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. Under Trust Center, click Set Up API and Macro Security.

  3. From the Legacy API preference menu, select Reflection, and then click OK.

  4. On the Session ribbon, click the Run Macro button.

  5. From the Run Macro dialog box, specify the legacy macro that you want to run.

NOTE:If the macro contains unsupported objects, its functionality may be limited or 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