Terminal

The Desktop Terminal includes the following, customizable events:

 

Event name

Description

terminal_displaybuttons_before

This event allows modification of the 'e_accessgroup' parameter, which determines the menu to display. If this parameter is left empty, the system will select the machine's predefined settings by default.

terminal_displaybuttons_after

This event enables users to further alter button display logic, such as showing a different button list, removing certain buttons, or applying specific logic to existing buttons before the screen appears.

These events provide users with greater flexibility in customizing button behavior and applying actions once all buttons are displayed.

 

Example:

Override the terminal_displaybuttons_before event to display a custom list of buttons.

Rather than loading button definitions from user settings, we read the button definitions specified in the terminal settings within the "Work Station Settings Wizard:

 

menu_terminal.src:

windowevent terminal_displaybuttons_before
// Available Variables:
//  e_accessgroup   Todo
//
//Customization to ignore user access group and display menu defined in Work station settings.
//This script is applied only to machines "JEM_ES_DESKTOP" and "XXX" machine, but you can remove the condition and apply this for all machines
if <system.computername> = JEM-ES-DESKTOP or <system.computername> = XXX then
setvar=e_accessgroup=
end if
//You can return false if you don't want to display any button
return true
end event