mapper.view_elements.captured_window()
mapper.view_elements.captured_window(param_table)
This function creates a CapturedWindow
view element object.
Parameters
Parameter | Type | Description |
---|---|---|
param_table | table | This parameter is in associative array table format, meaning it's specified by keys rather than parameter positions. See the Parameters Table section. |
Parameters Table
Key | Type | Description |
---|---|---|
name | string | The 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_title | string | Title text of the window to be captured. If this parameter is omitted, the automatic window capture feature will not operate. |
omit_system_region | boolean | If 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_problems | boolean | If 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.