Difference between revisions of "Lua:getForegroundProcess"

From Cheat Engine
Jump to navigation Jump to search
(uRWFSZrOp)
m (Added CodeBox Template.)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
A perfect reply! Thanks for tnaikg the trouble.
+
[[Category:Lua]]
 +
{{CodeBox|'''function''' getForegroundProcess()}}
 +
 
 +
Returns the processid of the program that is currently on the front
 +
 
 +
{{LuaFunctionParametersNone}}
 +
 
 +
{{LuaSeeAlso}}
 +
 
 +
{{Process}}

Latest revision as of 00:48, 5 December 2025

<> 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