Enabling the Script Menu in Reflection

  • 7021617
  • 30-Mar-2000
  • 10-Aug-2018

Environment

Reflection for UNIX and OpenVMS version 13.0 through 14.x
Reflection for HP version 13.0 through 14.x
Reflection for IBM version 13.0 through 14.x

Situation

By default, the Script menu is not active in Reflection (since VBA macros are recommended). This technical note explains how to enable Reflection's Script menu, which provides access to the Visual Basic Editor for legacy Reflection Basic (*.rbs) scripts.

Resolution

Enabling the Script Menu in Reflection for HP, UNIX and OpenVMS, and ReGIS Graphics

To enable the Script menu in Reflection for HP, UNIX and OpenVMS, and ReGIS Graphics, follow these steps:

  1. Start Reflection.
  2. On the Setup menu, click Menu to open the Menu Setup dialog box.
  3. In the Defined Menu box, click Macro.

Note: The Macro menu will only appear in the Defined Menu box if Visual Basic for Applications is installed as a component of Reflection.

  1. In the Available Options box, double-click Additional Items.
  2. Double-click Items from Version 6.x, and then click Script.
  3. Click the Add After button to add the Script menu to the Defined Menu list.

Note: You can choose to add the Script menu before or after any existing menu.

  1. Click OK. The Script menu should now appear on Reflection's main menu.
  2. Click Save on the File menu to save the changes to your settings file. If necessary, create a new settings file.

Enabling the Script Menu in Reflection for IBM

To enable the Script Menu in Reflection for, follow these steps:

  1. Start Reflection.
  2. On the Setup menu, click Menu to open the Menu Setup dialog box.
  3. In the Defined Menu box, click Macro.

Note: The Macro menu will only appear in the Defined Menu box if Visual Basic for Applications is installed as a component of Reflection.

  1. In the Available Options box, double-click Additional Items.
  2. Click Script.
  3. Click the Add After button to add the Script menu to the Defined Menu list.

Note: You can choose to add the Script menu before or after any existing menu.

  1. Click OK. The Script menu should now appear after the Macro menu on Reflection's main menu.
  2. Click Save on the File menu to save the changes to your settings file. If necessary, create a new settings file.

Additional Information

For more programming resources, see KB 7022686.

Legacy KB ID

This document was originally published as Attachmate Technical Note 1317.