Difference between revisions of "Lua:createAutoAssemblerForm"

From Cheat Engine
Jump to navigation Jump to search
(Initial page creation.)
 
m (Added related function template.)
 
(2 intermediate revisions by the same user not shown)
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}}
 +
 +
{{Creation}}

Latest revision as of 23:46, 26 June 2026

<> Lua API 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()

Main Pages

Core Lua documentation entry points

Lua
Script Engine

Form Related Classes

Basic Visual Controls

Text / Input Controls

Value / Progress Controls

Graphics / Resources

Strings / Streams

Timers / Hotkeys

Scanning / Found Lists

Other Creation Helpers