Skip to main content

mapper.view_elements.captured_window()

mapper.view_elements.captured_window(param_table)

This function creates a CapturedWindow view element object.

Parameters

ParameterTypeDescription
param_tabletableThis parameter is in associative array table format, meaning it's specified by keys rather than parameter positions. See the Parameters Table section.

Parameters Table

KeyTypeDescription
namestringThe name given by the user to the CapturedWindow object.
The name specified in this parameter will be displayed on the dashboard.
This parameter is required.
window_titlestringTitle text of the window to be captured.
If this parameter is omitted, the automatic window capture feature will not operate.
omit_system_regionbooleanIf this parameter is set to true, the title bar and window frame of the captured window will be hidden.
The default is true.
avoid_touch_problemsbooleanIf this parameter is set to true, it resolves the issue of touch operations not working in MSFS's pop-out instrument windows.
The default is true.

Return Values

This function returens a CapturedWindow object.

See Also