Lua:getProcessIDFromProcessName

From Cheat Engine
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[edit]

Parameter Type Description
processname String The processname to find

See also[edit]

Lua
Script Engine

Related Functions[edit]

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