Get Window State#

Determines the state of the window: hidden, minimized, maximized, normal state.

Selector[Selector] The identifier of the user interface element. The application window will be determined by the specified selector.
Process[Text/Number] Process ID or the value of the ProcessID variable.
Process Name[Text] The name of the Process with wildcard support.
Window Name[Text] The name of the window with wildcard support.
Result

[Number] The state of the window.

Can take the following values:

  • 0 - window is hidden,
  • 1 - window is in normal state,
  • 2 - window is minimized,
  • 3 - window is maximized.
Error Handling Level

Select the error handling level. Possible values:

  • "Default" - default;
  • "Ignore" - errors are ignored;
  • "Handle" - errors are handled.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Message Level

Select the message level that blocks will output during operation. Possible values:

  • "Default" - default;
  • "Release" - output is disabled;
  • "Debug" - outputs main information;
  • "Detailed" - outputs detailed information.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Error Text[Text] Returns detailed information about the error in case of incorrect execution of the block's work.