Difference between revisions of "Lua:getWindowlist"
Jump to navigation
Jump to search
(Added example and information regarding this function) |
m (Added CodeBox Template.) |
||
| Line 1: | Line 1: | ||
[[Category:Lua]] | [[Category:Lua]] | ||
| − | '''function''' getWindowlist() | + | {{CodeBox|'''function''' getWindowlist()}} |
Returns a table with the windowlist (PID - Window Caption). The table has the following format : { PID, { ID, Caption} } | Returns a table with the windowlist (PID - Window Caption). The table has the following format : { PID, { ID, Caption} } | ||
| Line 18: | Line 18: | ||
} | } | ||
| − | + | {{LuaSeeAlso}} | |
| − | |||
| − | |||
=== Related Functions === | === Related Functions === | ||
Latest revision as of 00:53, 5 December 2025
| <> Function function getWindowlist() |
Returns a table with the windowlist (PID - Window Caption). The table has the following format : { PID, { ID, Caption} }
Example:
local windowList = getWindowlist()
-- windowList will be a table which includes data similar to that displayed below
----------------------------------------------
[21112] = {
[1] = 'Cheat Engine 7.4',
[2] = 'Cheat Engine 7.4',
[3] = 'Cheat Engine settings',
[4] = 'Default IME',
[5] = 'Lua Engine',
[6] = 'MSCTFIME UI',
}
See also[edit]
| Lua |
| Script Engine |