<< Click to Display Table of Contents >> Navigation: 3. Script Language > Process Operations > Process Commands |
MiniRobotLanguage (MRL)
CTR. Command
Close Thread
Intention
Close Thread. Parameter Thread-ID (#tid#) is optional.
Otherwise #tid# is taken.
Will end a running Thread immediately and forcefully
Syntax
CTR.[P1]
Parameter Explanation
P1 - ThreadID (#tid#)
Example
'***********************************
' CTR.-Demo
'***********************************
' Internet Explorer must be started
: §§LNK=http://www.fa2.de/
EXS.iexplore
STW.c|ieframe
' #tid# is set automatically by the STW.
' Be shure to use VAR. and not : because of Specialfolder/Systemvariable-Substitution
VAR.§§TID=#tid#
DBP.Thread-ID is: §§TID
SWP.0,0
DBP.We'll kill the IE-Thread in 3 Seconds.
PAU.3
CTR.§§TID
MBX.Ready
END.
Remarks
-
Limitations:
-
See also:
• IEP. / NEP. - If-Exists-Process