Lua:getForegroundProcess

From Cheat Engine
Jump to navigation Jump to search
<> Function

function getForegroundProcess()

Returns the processid of the program that is currently on the front

Function Parameters[edit]

<none>

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