Play Mac sound

Gets the sound library from macOS, picks a random file, and plays it out loud.

Actions Used

shortcuts-action-icon-stop-this-shortcut.webp
Stop shortcut
Stops execution of the current shortcut and dismisses the shortcut on screen. No more actions will be run after this action.
shortcuts-action-icon-play-sound.webp
Play Sound
Plays the audio file passed as input, or a default notification sound if no audio file was passed.
shortcuts-action-icon-get-item-from-list.webp
Get Item from List
Returns one or more items from the list passed as input. You can get the first item, the last item, a random item, the item at a particular index, or items in a range of indexes.
shortcuts-action-icon-get-contents-of-folder.webp
Get Contents of Folder
This action gets the files inside of the specified folder. Recursive If this option is enabled, this action will get all the files inside of a folder, including its subfolders.

Extra Details

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

More From This Folder

High alert

Sets the playback destination to the current device, turns off Do Not Disturb and Airplane Mode, turns on Cellular Data, Bluetooth, and Wi-Fi, sets the volume to 85%, the brightness to 100%, and turns on Light mode, then turns on every option for Sound Recognition, then vibrates if run from iPhone when it’s all done.

Get Shortcut »

More From The Library

Watch Silo

In a ruined and toxic future, thousands live in a giant silo deep underground. After its sheriff breaks a cardinal rule and residents die mysteriously, engineer Juliette starts to uncover shocking secrets and the truth about the silo.

Get Shortcut »

Toggle Voice Control

Switches the Voice Control so you can issue commands to your device, giving you hands-free control of your devices.

Works great for Accessibility purposes, as well as simply using a device when you can’t reach it – I use this on my iPad Pro when it’s on the stand I have on my desk.

Get Shortcut »

Set a shower timer

Starts playing your personalized Apple Music radio station, sets a timer for 10 minutes, and turns on the water lock with your Apple Watch face of choice.

Get Shortcut »


Get way deeper into Shortcuts – become a member.