中文
Node Documentation

Read window state

AutomationConfigured target requiredwindow.state

Read the configured target window state, foreground flag, position, and size.

Example use

Read foreground status and dimensions to decide whether to activate or resize the window.

Node preview

Right-drag to pan and scroll to zoom. Expand inputs and edit parameters to see how ports change. This preview does not run the node; reopening the page restores the example.

Loading node preview…

Configuration 1

Window target slotslotText

Select a target bound to an application path, window title, and window class.

RequiredDefault: None
  • Minimum characters: 1
  • Maximum characters: 128
  • Pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$

Data outputs 6

StatestateString

Durable Unicode text.

ForegroundforegroundBoolean

A strict true or false value.

XxInteger

The horizontal coordinate or position component in the current unit.

  • Minimum: -9007199254740991
  • Maximum: 9007199254740991
Value format examples
0
42
YyInteger

The vertical coordinate or position component in the current unit.

  • Minimum: -9007199254740991
  • Maximum: 9007199254740991
Value format examples
0
42
WidthwidthInteger

The region or window width in this node’s coordinate unit.

  • Minimum: -9007199254740991
  • Maximum: 9007199254740991
Value format examples
0
42
HeightheightInteger

The region or window height in this node’s coordinate unit.

  • Minimum: -9007199254740991
  • Maximum: 9007199254740991
Value format examples
0
42

Control and error ports

InputinInput · Control
An incoming control signal enters this operation.
CompletedcompletedOutput · Control
Continue from this result or stage; see the node description for branch conditions.
FailedfailedOutput · Error
Emitted when the operation fails; connect error handling here.
Version and node identity

Version 1.0.0

sha256:9e9e82db04348f1ee6eea4d065ca0356fc84c9445492deb9892a8c6458c4eacf