Play sound when alarm occurs

I’m pretty sure I know the answer to this but just thought I’d check.

I want to play an audio file when an alarm occurs.

I gather this can be accomplished with the Sound Player component.

But this needs to be placed on a window.

So am I right in thinking I need to put this on a window that is always open, e.g. my navigation bar?

Thanks.

there is also a script function that you can try out
system.util.playSoundClip

I havent tried it though.

Hi, could you help me how to use the script

system.util.playSoundClip

with a sound archive I have in my hard disk…?

TKS