Lua:openFileAsProcess

From Cheat Engine
Revision as of 00:49, 5 December 2025 by Leunsel (talk | contribs) (Added CodeBox Template.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
<> 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