Process Commands

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Process Operations >

Process Commands

WPR. - Wait-Process-Running

Previous Top Next


MiniRobotLanguage (MRL)

 

WPR. Command

Wait Process Running

 

 

Intention

 

Halts script execution until a specified process has been started.

 

See: 1.7. Application and PID

 

 

 

Syntax

 

WPR.[P1][|P2]

 

 

Parameter Explanation

 

P1 - Filename (with or without path) of the EXE which shall

    be monitored

 

P2 - Timeout ( 0 = infinite) if omitted 0 is taken

 

 

 

 

Example

 

'***********************************

' WPR.-Demo

'***********************************

DBM.2

' First closing all IE's

:retry

IEP.iexplore.exe

CPR.0|#pid#

JMP.retry

EIF.

MBX. Please click Ok. then start the Internet Explorer

WPR.iexplore.exe

MBX.IE running!

'***********************************

' WPR.-Demo 2 with Timeout of 3 Seconds

'***********************************

' First closing all IE's

:retrb

IEP.iexplore.exe

CPR.0|#pid#

JMP.retrb

EIF.

MBX. Please click Ok. then start the Internet Explorer

WPR.iexplore.exe|3

MBX.IE running or Timeout!

:over

MBX.!

END.

 

 

 

Remarks

 

-

 

 

 

Limitations:

 

-

 

 

See also:

 

    1.7. Application and PID

    GPI. - Get Process Information

    GPU. - Get Process User

    IEP. / NEP. - If-Exists-Process

    FEP. - For-Each-Process

    GDF. - Get-Data-From

    WPT. - Wait-Process-Termination

    3.3 Specialfolders