Script Editor palette

Build 1501 on 14/Nov/2017  This topic last edited on: 17/Mar/2016, at 16:48

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.

scriptspalette_zoom47

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