Process Commands

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Process Operations >

Process Commands

WPT. - Wait-Process-Termination

Previous Top Next


MiniRobotLanguage (MRL)

 

WPT. Command

Wait Process Termination

 

 

Intention

 

Halts script execution until a specified process has been ended.

 

See: 1.7. Application and PID

 

 

 

Syntax

 

WPT.[P1][|P2]

 

 

Parameter Explanation

 

P1 - PID

 

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

 

 

 

 

Example

 

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

' WPT - Demo

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

'DBM.2

: §§LNK=http://www.fa2.de/

EXH.index.html|$$HWA|§§LNK

PRT.Handle No. 1 is $$HWA

STW.h|$$HWA

MBX. Please click Ok. then close the Internet Explorer

WPT.#pid#

MBX. Next please do it again within 5 Seconds

EXH.index.html|$$HWA|§§LNK

PRT.Handle No. 1 is $$HWA

STW.h|$$HWA

WPT.#pid#|5

PRT.Closed or timeout happened

: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

•     WPR. - Wait-Process-Running

•     3.3 Specialfolders