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

AVEVA™ InTouch HMI

ActivateApp Function

  • Last UpdatedMar 03, 2023
  • 1 minute read

Activates an already running Windows application.

Syntax

ActivateApp apptitle;

Parameters

apptitle

The application title or Windows task list name of the running application you want to activate.

Example(s)

This script checks if a command prompt window is already open, and if so, activates it. Otherwise it starts the command prompt window.

IF InfoAppActive( InfoAppTitle("cmd")) == 1 THEN

ActivateApp InfoAppTitle("cmd");

ELSE

StartApp "cmd";

ENDIF;

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