ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Core Namespace / GeoprocessingOptions Class / SetAutoOpenMessagesWindow Method
Boolean indicating if the messages window will automatically open after running a tool in the Geoprocessing pane.

In This Topic
    SetAutoOpenMessagesWindow Method
    In This Topic
    Sets whether the messages window will automatically be opened after running a tool in the Geoprocessing pane. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Public Sub SetAutoOpenMessagesWindow( _
       ByVal autoOpenMessagesWindow As Boolean _
    ) 
    public void SetAutoOpenMessagesWindow( 
       bool autoOpenMessagesWindow
    )

    Parameters

    autoOpenMessagesWindow
    Boolean indicating if the messages window will automatically open after running a tool in the Geoprocessing pane.
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Remarks
    Note: see ArcGIS.Desktop.Core.Geoprocessing.GPExecuteToolFlags for available options for modifying behavior of ArcGIS.Desktop.Core.Geoprocessing.Geoprocessing.ExecuteToolAsync. Changing these parameters modifies behavior of interactive GP tools
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.1 or higher.
    See Also