Variables

Mac values used in If conditions, including app, window, date, network, audio, battery, and Trigger data.

Variables let a Condition check the current Mac state or let a later Action consume an earlier result. Distinguish common values, such as the current time, from values produced by a particular Trigger or Action.

  • Time Conditions: Chrome Research Workspace uses the current time to choose between two tab groups. The time check selects a branch; the keyboard Trigger still starts the Rule.
  • Trigger outputs: Sort Downloads checks the incoming item’s name and passes that same event’s Item Path to Move File or Folder.
  • Action outputs: Extract Text from New Images sends recognized Text into a result panel. Copy Current Chrome URL sends Active Tab URL into Set Clipboard to Text.

See the When → If → Do explanation for how Conditions and data flow fit into a Rule. Common variables are listed below; use the Trigger and Action links for outputs owned by individual components.

Input

Current Clipboard Text

The text currently on your clipboard.

Text
—

Date & Time

Current Date and Time

The current date and time.

Date
—

Current Date

The current date.

Date
—

Current Time

The current time.

Time
—

Current Day of the Week

The current day of the week.

Text
—

Weekend or Weekday

Whether today falls on a weekend.

Boolean
—

Current Month

The current month.

Text
—

Current Year

The current four-digit year.

Number
—

Current Week Number

The current ISO week number.

Number
—

Current Time Zone

The identifier for the Mac's current time zone.

Text
—

Application & Window

Frontmost Application

The application you’re currently using.

Application
—

Application Is Running

Indicates whether a selected application is currently running.

Application
—

Frontmost App Name

The name of the frontmost application.

Text
—

Frontmost App Bundle ID

The unique identifier of the frontmost application, such as com.apple.Safari.

Text
—

Focused Window Title

The title of the focused window.

Text
Accessibility

Focused Window Horizontal Position

The horizontal position of the focused window, measured in points.

Number
Accessibility

Focused Window Vertical Position

The vertical position of the focused window, measured in points.

Number
Accessibility

Focused Window Width

The width of the focused window, measured in points.

Number
Accessibility

Focused Window Height

The height of the focused window, measured in points.

Number
Accessibility

Previously Focused Window Title

The title of the previously focused window.

Text
Accessibility

Previously Focused Window Horizontal Position

The horizontal position of the previously focused window, measured in points.

Number
Accessibility

Previously Focused Window Vertical Position

The vertical position of the previously focused window, measured in points.

Number
Accessibility

Previously Focused Window Width

The width of the previously focused window, measured in points.

Number
Accessibility

Previously Focused Window Height

The height of the previously focused window, measured in points.

Number
Accessibility

System

Battery Level

The Mac’s current battery level, from 0% to 100%, when available.

Number
—

Power Source

The Mac’s current power source, such as battery power or a power adapter.

Enum String
—

Battery Is Charging

Whether the Mac’s battery is currently charging.

Boolean
—

Connected Display Count

The number of displays currently connected to the Mac.

Number
—

Low Power Mode

Whether Low Power Mode is currently on.

Boolean
—

Available Disk Space

The storage currently available for important use on the volume containing your home folder, in gigabytes.

Number
—

Disk Usage

The percentage of storage currently in use on the volume containing your home folder.

Number
—

Memory Usage

The percentage of the Mac’s physical memory currently in use.

Number
—

Used Memory

The Mac’s physical memory currently in use, in gigabytes.

Number
—

Available Memory

The Mac’s physical memory currently available, in gigabytes.

Number
—

CPU Usage

The Mac’s overall CPU usage, from 0% to 100%.

Number
—

Network

Network Is Connected

Whether the Mac currently has a network connection.

Boolean
—

Wi-Fi Network Name

The name of the Wi-Fi network the Mac is currently connected to, when available.

Text
—

VPN Is Active

Whether a VPN connection is currently active.

Boolean
—

Download Speed

The Mac’s current download speed, in megabytes per second.

Number
—

Upload Speed

The Mac’s current upload speed, in megabytes per second.

Number
—

Audio

Audio Output Device Name

The name of the Mac’s current audio output device.

Text
—

Audio Input Device Name

The name of the Mac’s current audio input device.

Text
—

Output Volume

The Mac’s current audio output volume, from 0% to 100%.

Number
—

Input Volume

The Mac’s current audio input volume, from 0% to 100%.

Number
—

Rule

Trigger Name

The name of the Trigger that started this Rule run.

Text
—