<< Click to Display Table of Contents >> Navigation: 3. Script Language > OS and Software > OS and Software Operations |
MiniRobotLanguage (MRL)
GEN. Command
Get Exe Number
Intention
Get the number of times an EXE-File is actually being executed.
Assume there are two x64.exe running. The task-manager will show them:
Then you call the script:
GEN.x64.exe|$$CNT
MBX.$$CNT
ENR.
and you get this result (see picture below).
Syntax
GEN.[P1][|P2]
Parameter Explanation
P1 - Filename with or without path, pattern possible
P2 - Variable to return the result
Example
'***********************************
' GEN.-Demo
'***********************************
GEN.x64.exe|$$CNT
MBX.$$CNT
END.
Remarks
x64 tested.
Limitations:
-
See also:
• GPI. - Get Process Information
• IEP. / NEAP. - If-Exists-Process
• WPT. - Wait-Process-Termination