Play Mac sound

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

Scripting Actions

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.
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-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-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.

Extra Details

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

More From This Folder

Silencio

Sets the Apple Watch to silent mode, turns on Do Not Disturb, sets the volume to 0% and vibrates if run from iPhone.

Get Shortcut »

More From The Library

Open Developer TV

Opens the Apple Developer app for Apple TV so you can view bookmarks, browse presentations, and search for topics. When run from Mac, maximizes the window to Full Screen.

Get Shortcut »

Log caffeine

Asks you to choose the type of caffeinated drink (coffee, espresso, cappuccino, or a soda) and logs the caffeine content into the Health app. Also compares against the daily recommended limit of milligrams of caffeine.

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more