Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
App.PlaySystemSound
Plays a system sound with given name.
Component |
Version |
macOS |
Windows |
Linux |
Server |
iOS SDK |
App
|
11.3 |
✅ Yes |
✅ Yes |
❌ No |
❌ No |
❌ No |
MBS( "App.PlaySystemSound"; Name )
More
MBS(
"App.PlaySystemSound"; /* Plays a system sound with given name. */
$Name) /* The name to play.e.g. "Submarine" */
Less
Parameters
Parameter |
Description |
Example |
Name |
The name to play. |
"Submarine" |
Result
Returns OK or error.
Description
Plays a system sound with given name.
Sound plays asynchronous.
For macOS, you can go to /System/Library/Sounds folder and look for the sound names:
Tink, Submarine, Sosumi, Purr, Pop, Ping, Morse, Hero, Glass, Funk, Frog, Bottle, Blow, Basso.
For Windows look into registry at HKEY_CURRENT_USER\AppEvents\EventLabels section.
Current list on Windows 11: ActivatingDocument, AppGPFault, BlockedPopup, CCSelect, ChangeTheme, Close, CriticalBatteryAlarm, DeviceConnect, DeviceDisconnect, DeviceFail, DisNumbersSound, EmptyRecycleBin, FaxBeep, FeedDiscovered, HubOffSound, HubOnSound, HubSleepSound, LowBatteryAlarm, MailBeep, Maximize, MenuCommand, MenuPopup, MessageNudge, Minimize, MisrecoSound, MoveMenuItem, Navigating, Notification.Default, Notification.IM, Notification.Looping.Alarm, Notification.Looping.Call, Notification.Mail, Notification.Proximity, Notification.Reminder, Notification.SMS, Open, PanelSound, PrintComplete, ProximityConnection, RestoreDown, RestoreUp, SecurityBand, ShowBand, SystemAsterisk, SystemExclamation, SystemExit, SystemHand, SystemNotification, SystemQuestion, WindowsLogoff, WindowsLogon, WindowsUAC, WindowsUnlock.
Examples
Play sound on macOS:
MBS( "App.PlaySystemSound"; "Submarine" )
Play sound on Windows:
MBS( "App.PlaySystemSound"; "DeviceConnect" )
Release notes
Blog Entries
This function checks for a license.
Created 2nd June 2021, last changed 17th January 2022
App.OpenFile
-
App.ProcessID