Start

Description: Starts an application
Returns: Nothing
Usage: Steady State only.
Function Groups: Configuration Management
Related to: GetAppInstance | AppIsRunning | AppIsStarted | AppIsStarting |
Format: Layer\Start()
Parameters: none.
Comments:

To use, gather the "Layer Root" of an object from the \System.GetAppInstance function.

Has no effect if the application is already running.

Examples:

The following snippet from a script application will start the Completed Tutorial application (The GUID of the Completed Tutorial may vary).

[
  WaitObj;
  CompLayer;
  TutGUID = "db53f244-90ef-4628-bdf6-2d53794a2079";
]
Main [
  If !Valid(WaitObj) && !Valid(CompLayer)  WaitLayerLoad;
  [
    { GetAppInstance doesn't return the Layer until it has loaded. }
    WaitObj = Layer\GetAppInstance(TutGUID, &CompLayer);
  ]
]
WaitLayerLoad [
  CompLayer\Start();
]