ATG Commerce Service Center allows you to modify the keyboardshortcuts that are used throughout the application and Service Center.
To modify the shortcuts, you must modify the following files:
Agent/script/keyboardShortcutsService.jsAgent/script/keyboardTopicsService.jsDCS-CSR/script/keyboardShortcutsCSC.jsDCS-CSR/script/keyboardTopicsCSC.js
The keyboardShortcuts files are used to map keyboard shortcuts to published topics. The keyboardTopics files are used to execute these topics and perform the specific functions.
The following is an example of a keyboard shortcut definition for the shortcut key ALT+6:
atg.keyboard.registerShortcut(
"ALT+6", {
shortcut: "ALT + 6",
name: getResource("keyboard.service.customersTab.name"),
description: getResource("keyboard.service.customersTab.description"),
area: getResource("keyboard.area.workspace"),
topic: "CustomersTab",
notify: true
});
Where:
shortcutis the shortcut key that is shown in the help windownameis the localized display name, shown in the help windowdescriptionis the localized description, shown in the help windowareais the localized functional area, shown in the help windowtopicis the name of the topic that is fired when this shortcut is pressedactionis the optional JavaScript function that is called when the shortcut is pressed (used when a topic is not available)notifyis an attribute that determines whether the small popup window in the bottom right of the screen is shown for the particular topic

