AppCtrlScript

MAY Computer

Help

STARTAPP

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Group  

Execution

See also  

EXECSHELL

Starts the specified application executable (full filename) and displays a wait message while the application is started. It looks up for the specified window to come up to get security that the application has completed startup process.

Syntax

STARTAPP <CmdLine>[, <WaitText>][, <WinClass>][, <WinCaption>][, <SleepTime>][, <WinState>] 

Part

Description

<CmdLine>

Full path and filename to an executable (or linked document file).

<WaitText>

An optional text to be displayed while application is loaded.

<WinClass> Optional class name of the window to wait for.
<WinCaption>

The window title of the window to wait for. If it is not specified, the function returns immediately after the executable was launched. SleepTime and WinState parameters are obsolete to specify if you skipped this parameter.

<SleepTime>

A time given in milliseconds to wait before looking for the desired window (after the executable was launched). The default is 3000.

<WinState>

-1|0|1|2|3; the desired state of the specified window; -1 = leave as it is (default); 0 = Make found window normal size; 1 = Minimize found window; 2 = Maximize found window; 3 = Hide found window