To play a sound from BI as a service, create a DOORBELL.BAT file with this line in it:
Code: Select all
powershell -c (New-Object System.Media.SoundPlayer 'C:\Program Files\Blue Iris 5\sounds\doorbell.wav').PlaySync();
HTH
Code: Select all
powershell -c (New-Object System.Media.SoundPlayer 'C:\Program Files\Blue Iris 5\sounds\doorbell.wav').PlaySync();