<< Click to Display Table of Contents >> Navigation: 3. Script Language > Process Operations > Process Commands |
MiniRobotLanguage (MRL)
WPT. Command
Wait Process Termination
Intention
Halts script execution until a specified process has been ended.
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:
• GPI. - Get Process Information
• IEP. / NEP. - If-Exists-Process