Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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
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
- Version 11.3
- Added App.PlaySystemSound function.
Blog Entries
- New in MBS FileMaker Plugin 11.3
- Neues MBS FileMaker Plugin 11.3
- MBS FileMaker Plugin 11.3 - More than 6500 Functions In One Plugin
- MBS FileMaker Plugin, version 11.3pr1
This function checks for a license.
Created 2nd June 2021, last changed 17th January 2022
