Script Functions
This section describes the shipped RAMP JavaScript functions you can use in your scripts.
Note that these functions are case sensitive, so be careful to use exactly the same case as shown when writing scripts!
Defines a string by a unique number for use by other scripts |
|
Function keys to send when an unknown form appears during RAMP navigation |
|
Issue a message as an alert |
|
Signal to the Framework to close the current screen |
|
Restores an alphanumeric or numeric value from the Framework virtual clipboard |
|
Save an alphanumeric or numeric value in the Framework virtual clipboard. |
|
Signal an event to filters and RAMP screens |
|
Requests a switch to another business object and optionally the execution of a nominated command. |
|
Check that RAMP is showing a screen |
|
Checks whether a field is present in the current screen |
|
Clear all messages currently in the stack |
|
Copy a string to the user's clipboard |
|
Get the Form Name of the current RAMP screen |
|
Removes the definition of a 5250 special field handler |
|
Issue a fatal message |
|
Stop the Framework from shutting down when a fatal navigation error occurs |
|
Get the 5250 message text at a specified row number and optionally route as a Framework message. |
|
Get the value from a field on a RAMP screen |
|
Show a user defined prompter form for a field |
|
Use in the ARRIVE script to hide the function key buttons in the 5250 screen |
|
Hide the current screen with an optional message |
|
Locks the framework |
|
Issue a message |
|
Navigate to a screen |
|
Assigns a new caption for a function key on any screen |
|
Assigns a new caption for a function key on a particular screen |
|
Allows you to turn the Axes system flag Recognise subfiles as tables on and off on a screen by screen basis. |
|
Check that RAMP is showing a screen, the request is queued up and processed when the next screen arrives |
|
Navigates to a nominated 5250 screen, the request is queued up and processed when the next screen arrives |
|
Emulates the pressing of a key, the request is queued up and processed when the next screen arrives |
|
Set the content of a field on a 5250 screen to a value, the request is queued up and processed when the next screen arrives |
|
Restarts to the last navigation plan when the next screen arrives. |
|
Returns the screen object for a specified screen name |
|
Emulate pressing a key. |
|
Set the current command handler caption to a new value |
|
Sets or resets the current definition of a 5250 special field handler |
|
Moves the cursor to the specified field, or piece of text, or subfile cell |
|
Moves the cursor to the specified field, or piece of text or subfile cell |
|
Moves the cursor to the specified row and column on the screen |
|
Dynamically enable or disable a Destination’s button or 5250 function key |
|
Set a field on a RAMP screen to a value |
|
Use in the ARRIVE script to show the function key buttons in the 5250 screen |
|
Show or hide the current screen. |
|
Show/Hide the 5250 terminal status bar for the end user |
|
Returns the string for a given string identification number |
|
Returns the leading numbers from a string |
|
Makes a string or other JScript object into a number. |
|
Makes a number or null or other JScript object into a string. |
|
Add run time information to the trace panel |
|
Trim preceding (left) spaces from a string |
|
Trim trailing spaces from a string |
|
Unlocks the framework |