Difference between revisions of "Lua:openFileAsProcess"

From Cheat Engine
Jump to navigation Jump to search
m (Added CodeBox Template.)
 
Line 1: Line 1:
 
[[Category:Lua]]
 
[[Category:Lua]]
'''function''' openFileAsProcess(''fileName'', ''is64bit'')
+
{{CodeBox|'''function''' openFileAsProcess(''fileName'', ''is64bit'')}}
  
 
Causes Cheat Engine to open the file with memory access as if it's a process
 
Causes Cheat Engine to open the file with memory access as if it's a process
Line 17: Line 17:
 
{{LuaSeeAlso}}
 
{{LuaSeeAlso}}
  
=== Related Functions ===
+
{{Process}}
* [[Lua:openProcess|openProcess]]
 
* [[Lua:getProcesslist|getProcesslist]]
 
* [[Lua:getOpenedProcessID|getOpenedProcessID]]
 
* [[Lua:getProcessIDFromProcessName|getProcessIDFromProcessName]]
 
* [[Lua:createProcess|createProcess]]
 

Latest revision as of 00:49, 5 December 2025

<> Function

function openFileAsProcess(fileName, is64bit)

Causes Cheat Engine to open the file with memory access as if it's a process

Function Parameters[edit]

Parameter Type Description
fileName string The name of the file to open as a process

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