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

AVEVA™ Plant SCADA

KeyReplay

  • Last UpdatedJul 18, 2023
  • 1 minute read

Replays the last key sequence (except for the last key, which would execute the command). This function is useful when a command is to be repeated. To call this function from the keyboard, use a Hot Key "*" (asterisk) command, otherwise the KeyReplay() function itself is replayed.

Syntax

KeyReplay(Sub)

Sub:

Number of characters to subtract before replay. Default value is 1.

Return Value

0 (zero) if successful, otherwise an error is returned.

KeyReplayAll

Example

If the previous contents of the key command line were:

"START ABC ENTER"
KeyReplay();
! Replays "START ABC".

See Also

Keyboard Functions

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