Choreographer is a feature in aXes that allow developers to record navigating from a source screen into a destination screen. This is done by recording the executed keystrokes and function keys using the 5250 emulator to arrive at the destination. The Choreographer will record it and create a file which can be played later to directly go to the destination screen without the need to perform the necessary operations.


Before recording

For Choreographer to work as intended, the following should be noted.

  • All screens from the starting screen to the destination screen should be properly identified before recording.
  • You can only replay the saved recordings from the starting screen.

How to record

When all of the screens along the path to be recorded has been properly identified, recording can be started.

  1. Go the Choreographer tab.
  2. Click on the recording icon. (Be sure you are on the starting screen. The recording can only be replayed from this screen.)
  3. Navigate to the destination screen.
  4. When on the destination screen, click on the stop icon.
  5. On the popup dialog, enter the name you want for this recording.
  6. The recording's name will be added into the Saved Recordings list.

Replaying existing recordings

Before replaying any saved recordings, please be sure you are on the starting screen of the recording you wish to replay.

  1. Click on the name of the recording you wish to play from the Saved Recordings list.
    The recording's details will be displayed at the bottom.
  2. Click on the play icon.
  3. The commands of the recording will automatically be replayed until it reaches the destination screen.

Deleting existing recordings

  1. Click on the name of the recording you wish to delete.
  2. Click on the delete icon.
  3. The recording will be removed from the list.

Renaming existing recordings

  1. Click on the name of the recording you wish to edit.
  2. Click on the edit/pencil icon.
  3. On the dialog that will popup, change the name of the recording and click the OK button.
  4. The Saved Recordings list will be updated with the new name of the edited recording.

Editing recording's details

A recording's details can be edited using the Record Details at the bottom.

  1. Click on the name of the recording you wish to edit.
  2. The recording's details will be displayed at the bottom.
  3. Edit the commands, etc. as you wish.
  4. When done, just click on the Update button to update the recording. Playing the recording again will reflect the changes you made.

How to use existing recordings on scripts

Existing recordings can also be played using scripts. You only need to know the name of the recording you want to play. The script needs to be executed on the starting screen of the recording for it to work.

  1. Go the starting screen of the recording you want to play on a script.
  2. Edit the screen and add a push button extension.
  3. Edit the OnClick property of the push button.
  4. On the script editor, input the following code:
    EXECUTECHOREONAME("NAMEOFRECORDING")
  5. Save your changes.
  6. Login as user mode and click on the button.
  7. The script will be executed and the screen will automatically navigate to the destination screen.

Administrators

Legal Mentions

aXes is brought to you by:

LANSA

Serving the IBM i community for 30 years.