# Play sound for certain finds?

**URL:** <https://blizzhackers.discourse.group/t/play-sound-for-certain-finds/1236>\
**Category:** Support\
**Created:** [April 22, 2021, 8:06pm UTC](https://blizzhackers.discourse.group/t/play-sound-for-certain-finds/1236 "2021-04-22T20:06:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![potrzebie](https://yyz2.discourse-cdn.com/free1/user_avatar/blizzhackers.discourse.group/potrzebie/32/51_2.png) [@potrzebie](https://blizzhackers.discourse.group/u/potrzebie)\
**Post date:** [April 22, 2021, 8:06pm UTC](https://blizzhackers.discourse.group/t/play-sound-for-certain-finds/1236/1 "2021-04-22T20:06:28Z")

</div>

Would it be possible to play a sound or spawn an external program, for example when a rune higher than Ist is found, or for every logged find even. Could you put a line of code somewhere, and in what file, that kind of does this (pseudocode):

```
if $name >= $istrune && $name <= $zodrune {
    exec cmd.exe /c fireworks.bat $name &
}
```

---

<div class="post-metadata">

**Author:** ![5noop](https://avatars.discourse-cdn.com/v4/letter/5/258eb7/32.png) [@5noop](https://blizzhackers.discourse.group/u/5noop)\
**Post date:** [April 24, 2021, 5:06pm UTC](https://blizzhackers.discourse.group/t/play-sound-for-certain-finds/1236/2 "2021-04-24T17:06:14Z")

</div>

`beep()` will play one of the default windows sound, you could use it in pickit.js in the check function.
