I can display an “Alert” but there is no associated sound.
The following was tested
- Sounds generated from a received email ok
- The “Settings | Scriptable | Allow scriptable to access” doesn’t show the “Sound” module (not sure if it should)
- The “Settings | Scriptable | Allow scriptable to access” shows “Notifications”
- Also no sound from a Scriptable “Notification”
Any help would be appreciated.
Thanks,
Rob
As far as I know, Alerts don’t make a sound in any app.
Notifications make no sound at default, but you can set what sound they make with
let n = new Notification();
n.sound = "alert";
You can find all the sounds in the documentation. Sadly because of restrictions from Apple it is not possible to assign a custom sound to notifications.
1 Like
@schl3ck thanks.
Just to clarify for others, the “Notification” only seems to respond to the “alert” sound.
There are more sounds than “alert”, but none are listed in the documentation… @simonbs I think this is a bug
The available sounds are:
default
accept
alert
complete
event
failure
piano_error
piano_success
popup
3 Likes
Ouch - yes, that’s a mistake. Thanks for reporting it.
I have fixed the issue and the list of sounds will be included in the next update. For now, you can find the list in the updated online documentation.
2 Likes