Get screen dimensions

Gets the width and height of the current screen and displays the pixel dimensions.

Actions

shortcuts-action-icon-get-device-details.webp
Get Device Details
Gets information about the current device.
shortcuts-action-icon-show-result.webp
Show Result
Shows the specified text in Siri or in an alert.
shortcuts-action-icon-stop-and-output.webp
Stop and Output
Stops execution of the current shortcut, and outputs content. This action is useful when: • Running a shortcut from another shortcut (using the Run Shortcut action). The output will be used as the output of the Run Shortcut action. • Running a shortcut from Quick Actions in Finder on macOS. The output will be saved as a file alongside the files selected in Finder. • Running a shortcut from Services on macOS. The output will replace the selected content, if applicable. • Or, when running a shortcut from another location that supports output, like the command-line or the Shortcuts URL scheme. No more actions will be run after this action.

More From This Folder

Get network details

Gets the current Wi-Fi network details, including the current IP address, Network Name, BSSSID, Wi-Fi Standard, RX Rate, TX Rate, RSSI, Noise, Channel Number, and Hardware MAC Address.

Get Shortcut »

Screen saver

Starts the screen saver on your Mac. Choose from the Landscape, Cityscape, Underwater, Earth, or other options in System Settings and trigger it using this.

Get Shortcut »

Change volume

Quickly change your device’s system volume by picking a numeric value from a list. Customize the list to contain your favorite volume presets, which support decimal values.

Original version by Federico Viticci for MacStories: https: or or www.macstories.net or ios or how-to-adjust-ios-volume-via-workflow-when-streaming-audio-to-homepod or

Get Shortcut »

Extra Details

Link to Run Shortcut
shortcuts://run-shortcut?name=Get%20screen%20dimensions
Link to Open Shortcut
shortcuts://open-shortcut?name=Get%20screen%20dimensions
AppleScript code
tell application “Shortcuts Events” run shortcut “Get screen dimensions” end tell

More From The Library

Open Display and Text Size preferences

Opens into the Display and Text Size section of Accessibility settings and lets you customize features like Bold Text, Larger Text, Button Shapes, On or Off Labels, Reduce Transparency, Increase Contract, Differentiate Without Color, Prefer Horizontal Text, Smart Invert, Classic Invert, Color Filters, Reduce White Point, and Auto-Brightness.

Get Shortcut »

Copy my Shortcuts folder names

Gets a list of all the titles for your Shortcuts folders. On macOS, uses the Shortcuts Command Line Interface (CLI) to make the request; on iOS, uses a Regular Expression to find the results. Also saves a .txt file of the output.

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more