States
All Windows
Exposes a list of objects about the current active windows.
You can use these values in conditionals, workflows, or to display window information inside your app.
Basic Window Information
id
A unique identifier for this window.
title
The current window title.
backgroundColor
The window's background color.
opacity
The window's transparency level.1 = fully visible0.5 = semi-transparent
Size and Position
width
Current width of the window (in pixels).
height
Current height of the window (in pixels).
x
Distance from the left side of the screen.
y
Distance from the top of the screen.
Size Constraints
minWidth
The smallest width the window is allowed to be.
minHeight
The smallest height the window is allowed to be.
maxWidth
The largest width the window is allowed to be.
maxHeight
The largest height the window is allowed to be.
Window Behavior Settings
These determine what the user is allowed to do:
resizable
Whether the user can resize the window.
movable
Whether the user can move the window.
minimizable
Whether the window can be minimized.
maximizable
Whether the window can be maximized.
closable
Whether the window can be closed.
fullscreenable
Whether the window can enter fullscreen mode.
alwaysOnTop
Whether the window stays above all other windows.
skipTaskbar
Whether the window is hidden from the taskbar or dock.
kiosk
Whether the window is locked into kiosk mode (restricted interaction).
hasShadow
Whether the window has a shadow effect.
ignoreMouseEvents
If enabled, mouse clicks pass through the window.
forwardMouseEvents
Whether mouse events are forwarded to underlying windows.
visibleOnAllWorkspaces
Whether the window appears on all desktops/workspaces.
trafficLightVisibility
(macOS only) Whether the red/yellow/green window controls are visible.
Current Window State
These describe what the window is currently doing:
show
Whether the window is set to be shown.
fullscreen
Whether the window is currently in fullscreen mode.
isMinimized
Whether the window is currently minimized.
isMaximized
Whether the window is currently maximized.
isNormal
Whether the window is in its normal state (not minimized or maximized).
isFocused
Whether the window is currently the active window.
isVisible
Whether the window is currently visible to the user.
Web Contents Object
url
The current page address.
title
The current page title.
loading
Whether the page is currently loading.
devToolsOpen
Whether the browser developer tools are open.
zoomLevel
The current zoom level of the page.0 = default zoom.
canNavigateBack
Whether the page can go back in its browsing history.
canNavigateForward
Whether the page can go forward in its browsing history.
Current Window
This outputs the same type of object as above, but a singular object for the current window.
Window Events
This outputs a list of the last 100 window events. The possible values for "event" are Finished Loading, Closed, Unfocused, Focused, Maximized, Unmaximized, Message Received, Fullscreened, Unfullscreened, Exit Attempted, Moved, Restored, Resized, Hidden, Shown, Minimized
Message From Window
If another window uses the "Window - Send Window Message" action, with the target window as the current window, this will output the message sent.
Message From Window ID
If another window uses the "Window - Send Window Message" action, with the target window as the current window, this will output which window sent the message.