In the Customize HotSpots window, one of the available
options that can be selected is Play Script. This feature allows
you to identify an existing or custom text string that displays on
the screen, and associate a script with that string.
Here's an example. Suppose that critical customer information,
like account balance, is located on a different host. Also, let's
suppose that you developed a Rocket TE script that automatically launches
a new Rocket TE session that retrieves the customer's account balance
and displays it to the user.
Now, you can create a custom Search String that will be used
to launch the script.
This procedure uses Rocket TE Mainframe Display
as an example.
- From the Rocket TE menu bar, click or
click the Display icon on the Rocket TE toolbar.
The Display Options dialog displays.
- Click the GUI tab.
- Verify that the Enable HotSpots check
box is selected.
- Click Customize.
The Customize HotSpots dialog displays.
- Click New.
The Define Custom Search dialog opens.
- Type the string of characters that is used to create a
HotSpot that is used to launch the script.
- Click OK.
The new Custom Search String opens.
- With the new Custom Search String selected, go to the Action / 3270 Function edit box and select Play Script.
A field displays.
- Type the name of the script that you want to be associated
with your new Custom Search String.
- Click OK.
Whenever the defined string displays on the screen, it will
be turned into a button or highlighted when you mouse over the string.
This behavior is controlled by the options selected on the GUI tab
in Display Options.
When the HotSpot is clicked, it launches the
associated script defined above.