Difference between revisions of "Lua:getForegroundProcess"

From Cheat Engine
Jump to navigation Jump to search
(Function Parameters)
m (Added CodeBox Template.)
 
(4 intermediate revisions by one other user not shown)
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}}
+
{{LuaSeeAlso}}
  
== See also ==
+
{{Process}}
* [[openProcess]]
 
* [[Lua]]
 

Latest revision as of 00:48, 5 December 2025

<> Lua API Reference

function getForegroundProcess()

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

Function Parameters[edit]

<none>

Main Pages

Core Lua documentation entry points

Lua
Script Engine

Process Open / Creation

Process Lists / Modules

Process Control / Target State