Difference between revisions of "Lua:getForegroundProcess"

From Cheat Engine
Jump to navigation Jump to search
(Related Functions)
m (Added CodeBox Template.)
 
Line 1: Line 1:
 
[[Category:Lua]]
 
[[Category:Lua]]
'''function''' getForegroundProcess()
+
{{CodeBox|'''function''' getForegroundProcess()}}
  
 
Returns the processid of the program that is currently on the front
 
Returns the processid of the program that is currently on the front
 
  
 
{{LuaFunctionParametersNone}}
 
{{LuaFunctionParametersNone}}
Line 9: Line 8:
 
{{LuaSeeAlso}}
 
{{LuaSeeAlso}}
  
=== Related Functions ===
+
{{Process}}
* [[Lua:openProcess|openProcess]]
 
* [[Lua:getProcesslist|getProcesslist]]
 
* [[Lua:getOpenedProcessID|getOpenedProcessID]]
 
* [[Lua:getProcessIDFromProcessName|getProcessIDFromProcessName]]
 
* [[Lua:createProcess|createProcess]]
 
* [[Lua:openFileAsProcess|openFileAsProcess]]
 

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