Difference between revisions of "Lua:getProcessIDFromProcessName"
Jump to navigation
Jump to search
(→Related Functions) |
m (Added CodeBox Template.) |
||
| Line 1: | Line 1: | ||
[[Category:Lua]] | [[Category:Lua]] | ||
| − | '''function''' getProcessIDFromProcessName(''processname'') | + | {{CodeBox|'''function''' getProcessIDFromProcessName(''processname'')}} |
Searches the processlist for the given name and if found returns the processID. Returns '''nil''' if not found | Searches the processlist for the given name and if found returns the processID. Returns '''nil''' if not found | ||
| − | |||
===Function Parameters=== | ===Function Parameters=== | ||
| Line 15: | Line 14: | ||
|The processname to find | |The processname to find | ||
|} | |} | ||
| − | |||
{{LuaSeeAlso}} | {{LuaSeeAlso}} | ||
| − | + | {{Process}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Latest revision as of 00:49, 5 December 2025
| <> Function function getProcessIDFromProcessName(processname) |
Searches the processlist for the given name and if found returns the processID. Returns nil if not found
Function Parameters[edit]
| Parameter | Type | Description |
|---|---|---|
| processname | String | The processname to find |
See also[edit]
| Lua |
| Script Engine |