Lua:getProcessIDFromProcessName

From Cheat Engine
Revision as of 00:49, 5 December 2025 by Leunsel (talk | contribs) (Added CodeBox Template.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
<> Function

function getProcessIDFromProcessName(processname)

Searches the processlist for the given name and if found returns the processID. Returns nil if not found

Function Parameters

Parameter Type Description
processname String The processname to find

See also

Lua
Script Engine

Related Functions

createProcess
openProcess
onOpenProcess
getForegroundProcess
getOpenedProcessID
getProcessIDFromProcessName
openFileAsProcess
saveOpenedFile
setPointerSize
setAssemblerMode
getProcesslist
getWindowlist
pause
unpause
targetIs64Bit
enumModules
closeRemoteHandle