Difference between revisions of "Lua:getWindowlist"
Jump to navigation
Jump to search
(Added example and information regarding this function) |
(No difference)
|
Latest revision as of 09:22, 25 February 2022
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',
}