GetDisplayCollect - hossimo/GMA3Plugins GitHub Wiki
GetDisplayByIndex() : objects
Brief:
Gets an table of connected displays
Paramiters:
Name | Type | Description | Optional -- | -- | --
Returns:
⚠ Needs more information of structure of returned data object ⚠
Type | Description userdata | an array of userdata objects representing a display nil | If the display does not exist of is not connected.
Examples:
local d = GetDisplayCollect()
for i = 1, d.count, 1 do
if d[i] == nil then
Echo("%d nil", i) -- x nil
else
Echo("%d %s", d[i].index, d[i].name) -- x Display x
end
end