XenoGuard Documentation

XenoGuard Window State

Actions » Windows » Screen » XenoGuard Window State 

The action XenoGuard Window State sets the main window of XenoGuard to either minimized, maximized, hidden, or normal state.

[-] Hide
  1. Open the Windows node in the Workspace Explorer.
  2. In the Screen node, select the XenoGuard Window State action.

Parameters:

The action has the following input parameters:


name Description
Screen
Specifies the screen where the main window is set.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]
Window State
Specifies the symbol to be searched on the screen.

Accepted values for the Window State: Hidden, Normal, Maximized, Minimized

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]
Change Bounds
Determines whether the window position and size should be changed.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Value [Boolean]
Left Position [px]
Sets the location of the main window from the left relative to the screen.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]
Top Position [px]
Sets the location of the main window from the top relative to the screen.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]
Window Width [px]
Sets the width of the main window.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable Parameter, Enum]
Window Height [px]
Sets the height of the main window.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]

Information

The default value of Window Width [px] and Window Height [px] parameters may vary depending on the device's display resolution.

Example 1 (Set XenoGuard's main window to half of the screen):

This example obtains the value of a global variable named EnvironmentPrimaryScreenWidth and used its value to calculate XenoGuard's window width after dividing it by 2. XenoGuards' window state is then adjusted based on the computed screen width value. A notice of the adjusted window width is displayed in Message Box.

See other screen operations:

Take Screenshot
Wait For Symbol
Mouse To Symbol