Lua:getWindowlist

From Cheat Engine
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