Get screen dimensions

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

Actions Used

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.

Extra Details

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

More From This Folder

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 »

More From The Library

Watch Foundation

Based on the award-winning novels by Isaac Asimov, Foundation chronicles a band of exiles on their monumental journey to save humanity and rebuild civilization amid the fall of the Galactic Empire.

Get Shortcut »

Open Hearing Devices preferences

Opens the deep link into Settings > Accessibility > Hearing Devices where you can pair Made for iPhone hearing aids and sound processors, plus toggle Hearing Aid Compatibility to improve audio quality on some devi

Get Shortcut »


Get way deeper into Shortcuts – become a member.