Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ XR Studio

XRS Script Editor toolbar and shortcuts

  • Last UpdatedSep 04, 2024
  • 3 minute read

Toolbar buttons and shortcut commands

This table lists the XRS Script Editor toolbar buttons and descriptions. Some functions also have a shortcut command.

Toolbar button

Description

Shortcut

Back

Goes to the previous save point.

Ctrl + [-]

Forward

Goes to the next save point.

Ctrl + Shift + [-]

Find

Opens the Find dialog.

Ctrl + F

Replace

Opens the Replace dialog.

Ctrl + H

Go To Line

Opens the Go to Line dialog.

Ctrl + G

Script Editor navigation combo boxes

The Script Editor has two navigation combo boxes at the top of the scripting editor for you to quickly navigate inside the code and filter nodes based on their type.

  • Type combo box

    The Type dropdown contains a list of the types of nodes in the script. Select a type from this list to update the function combobox with a list of all the nodes of the selected type.

  • Class combo box

    The Class dropdown contains a list of the classes of the type selected in the Type combobox.

  • Function combo box

    The Function dropdown contains a list of the variables and functions of the class selected in the Class combobox.

    Select a function from the list to move the cursor to the selected function.

Word Wrap

When enabled, the editor wraps the content of the line to the next line. This option is False, by default.

  • On the File menu, point to Preferences, and select Script Editor Word Wrap.

Shortcut commands

Some functions are available through the contextual menu (right select on text area), and by shortcut command.

Menu item

Description

Shortcut

Undo

Reverts last actions.

Ctrl + Z

Redo

Restores reverted actions.

Ctrl + Y

Copy

Copies the selected text to the clipboard.

Ctrl + C

Cut

Copies and removes the selected text to the clipboard.

Ctrl + X

Paste

Pastes the clipboard content in the current cursor position.

Ctrl + V

Delete

Removes the currently selected text.

Delete

Select All

Selects all text.

Ctrl + A

Script editing shortcuts

The following shortcuts are XR Studio script editor specific.

Action

Description

Shortcut

Code snippet

Shows the snippet selector for code samples.

Ctrl + J

Syntax snippet

Shows the snippet selector for syntax samples.

Ctrl + K

Other useful shortcuts

Some other shortcuts that may be useful.

Action

Description

Shortcut

Zoom in

Increases text font.

Ctrl + [+]

Zoom out

Decreases text font.

Ctrl + [-]

Duplicate selection

Duplicates selected text.

Ctrl + D

Lower case selection

Sets selected text to lower case.

Ctrl + U

Upper case selection

Sets selected text to upper case.

Ctrl + Shift + U

XRS comment selection

Adds /*...*/ comment tags on selected text.

Ctrl + Shift + Q

Fast find tool

Shows a fast find tool to reach a particular text.

Ctrl + I

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in