GetDisplayByIndex - hossimo/GMA3Plugins GitHub Wiki
GetDisplayByIndex(int:display Index) : display_handle
Brief:
Gets a display_handle given a display index number
Paramiters:
Name | Type | Description | Optional -- | -- | -- display index | int | Requested Display Index |
Returns:
Type | Description
display_handle | The display_handle
of the requested display
nil | If the selected display does not exits.
Examples:
-- This example is contrived since Confirm() displays on all screens
local display = GetDisplayByIndex(1)
Confirm(display, "This is display 1")
display = GetDisplayByIndex(2)
Confirm(display, "This is display 2")