Show Contents / Index / Search

Legacy Reflection Macros

You can open a settings file in the workspace to run the macros it contains, or you can run macros from an external file.

Note: You can run RCL scripts only when a VT session document is active in the workspace.

To run a legacy Reflection macro in a settings or session file

Note: Legacy macro options are available only if compatibility features are installed.

  1. Open the legacy settings file in Reflection 2011.
  2. On the Session ribbon, from the Macros group, click Run Macro.
  3. From the Run Macro dialog box, select Legacy Reflection Macro in This File.
  4. In the Macros dialog, select the macro name and click Run.

    Note: These macros include legacy settings files (.rsf, .r2w, or .r4w) and session documents (.rd3x, .rd5x, .rdox) that were previously converted from settings files

To run a legacy Reflection macro from an external file

Note: Legacy macro options are available only if compatibility features are installed.

  1. On the Reflection button, select Reflection Workspace Settings.
  2. Under Trust Center, select Set up API and Macro Security.
  3. In the Legacy API Preference list, select Reflection.
  4. Close the workspace and then reopen it.
  5. (Recommended--If you have a copy of reflection 14.x?) If your legacy macro was created in Reflection 10.x or earlier, open and save it in Reflection 14.x.)
  6. Open a session.
  7. On the Session ribbon, from the Macros group, click Run Macro.
  8. From the Run Macro dialog box, select Legacy Reflection Macro in Another File or Legacy RB Macro.
  9. Browse to the macro file that you want to run and click OK.

Related Topics

Unsupported Session Class Methods and Properties