Difference between revisions of "Lua:getAutorunPath"

From Cheat Engine
Jump to navigation Jump to search
(Initial page creation.)
 
m (Syntax Highlighting.)
Line 11: Line 11:
  
 
===Examples===
 
===Examples===
<pre>
+
<syntaxhighlight lang="lua" line>
 
local path = getAutorunPath()
 
local path = getAutorunPath()
  
 
print("Autorun path: " .. path)
 
print("Autorun path: " .. path)
</pre>
+
</syntaxhighlight>
  
 
{{LuaSeeAlso}}
 
{{LuaSeeAlso}}

Revision as of 19:50, 25 June 2026

<> Lua API Reference

function getAutorunPath() : string

Returns the autorun path.

Function Parameters

This function has no parameters.

Returns

string — The autorun path.

Examples

1 local path = getAutorunPath()
2 
3 print("Autorun path: " .. path)

Main Pages

Core Lua documentation entry points

Lua
Script Engine