Difference between revisions of "Lua:createAutoAssemblerForm"

From Cheat Engine
Jump to navigation Jump to search
m
m (Syntax Highlighting.)
 
Line 21: Line 21:
  
 
===Examples===
 
===Examples===
<pre>
+
<syntaxhighlight lang="lua" line>
 
local aa = createAutoAssemblerForm("[ENABLE]\n// code here\n[DISABLE]")
 
local aa = createAutoAssemblerForm("[ENABLE]\n// code here\n[DISABLE]")
 
aa.show()
 
aa.show()
</pre>
+
</syntaxhighlight>
  
 
{{LuaSeeAlso}}
 
{{LuaSeeAlso}}
  
 
{{Forms}}
 
{{Forms}}

Latest revision as of 19:40, 25 June 2026

<> Reference

function createAutoAssemblerForm(script OPTIONAL) : TFrmAutoInject

Opens an Auto Assembler editor window.

Provide script text to prefill the editor; omit it to open an empty Auto Assembler window.

Function Parameters[edit]

Parameter Type Description
script String Optional Auto Assembler script to place in the editor.

Returns[edit]

TFrmAutoInject — The Auto Assembler form.

Examples[edit]

1 local aa = createAutoAssemblerForm("[ENABLE]\n// code here\n[DISABLE]")
2 aa.show()

See Also[edit]

Main Pages

Form Related Pages