Any way to use an audiobell

Hi,

Newbie here. I am trying 3 commands on a webpage, and I wish to add a command which basically should be an audio alert. something like C’s \a (audiobell).

Sorry if this is too dumb a question.

I know two options:

  1. Use echo: echo | hello! | #shownotification <= This does not play a sound, but shows a desktop notification

  2. Play sound: You can use executeScript to load and play a website sound file.

executeScript | var audio = new Audio('http://www.storiesinflight.com/html5/audio/shimmer.wav');audio.play();

One line macro that plays the sound:

{
  "Name": "sound",
  "CreationDate": "2019-8-31",
  "Commands": [
    {
      "Command": "executeScript",
      "Target": "var audio = new Audio('http://www.storiesinflight.com/html5/audio/shimmer.wav');audio.play();",
      "Value": ""
    }
  ]
}