Use the Script editor palette to write short scripts and to test them in GN4, or to identify which script runs when you activate an action (menu command, key, icon, etc.)
To open the Script Editor palette, on the Window menu, point to Palettes and then click Script editor.
The context drop down list
The context drop down provides the appropriate context for the commands.
In Fred4, the available contexts are:
•PageDesigner: for the commands, related to page objects
•ShellTabItem: for the commands, related to navigator
•ShellWindow: for the commands, related to application when no data is loaded
In Ted4, the available contexts are:
•TxtDesigner: for the commands, related to text
•ShellTabItem: for the commands, related to navigator
•ShellWindow: for the commands, related to application when no data is loaded
Once written, scripts can be copied in the add-ins by clipboard. You cannot save the code as a file.
The length of scripts in the Script editor window is unlimited.
See also
Find which GN4 script runs when you do something