Difference between revisions of "Lua:saveOpenedFile"

From Cheat Engine
Jump to navigation Jump to search
(Created page with "Category:Lua '''function''' saveOpenedFile(''fileName OPTIONAL'') Saves the changes of the currently opened file, set filename if you want a different file. ===Function...")
 
m (Added CodeBox Template.)
 
Line 1: Line 1:
 
[[Category:Lua]]
 
[[Category:Lua]]
'''function''' saveOpenedFile(''fileName OPTIONAL'')
+
{{CodeBox|'''function''' saveOpenedFile(''fileName OPTIONAL'')}}
  
 
Saves the changes of the currently opened file, set filename if you want a different file.
 
Saves the changes of the currently opened file, set filename if you want a different file.
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:50, 5 December 2025

<> Function

function saveOpenedFile(fileName OPTIONAL)

Saves the changes of the currently opened file, set filename if you want a different file.

Function Parameters[edit]

Parameter Type Description
fileName string The name of the file you want to save as

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