Lua:getWindowlist

From Cheat Engine
Revision as of 09:22, 25 February 2022 by LeFiXER (talk | contribs) (Added example and information regarding this function)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Related Functions