Set Window State#

Sets a new window state: hidden, minimized, maximized, normal state.

Selector[Selector] 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] Name of the Process with wildcard support.
Window Name[Text] Name of the window with wildcard support.
All Windows

When selected, the new state will be applied to all windows in the system.

The three parameters ("Process", "Process Name", and "Window Name") are ignored in this case.

State

New window state.

Can take the following values:

  • Hide - hide the window,
  • Normal - set to normal state,
  • Minimized - minimize the window,
  • Maximized - maximize the window to full screen.
Old State

[Number] Old window state.

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" - by 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" - by 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.