Techiio-author
Started by Natasha JonesSep 24, 2021

Open
W10: Play sound / TTS from service

1 VIEWES 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 1 VIEWES SHARE

if I play sounds manually they are played. Specifically I use PowerShell to play a wav file or to create a TTS output. I can also adjust the Windows sound volume via PS (found an according script here somewhere).

But:

If I try to do the same via a service it does not work. Actually I use Jenkins to run an according PS script. But Jenkins is running as a service, so I assume that this could be the critical thing here.

However, I remember that I had done TTS successfully through the task scheduler. If I remember correctly, in that case there was no user actively logged on but it still worked. When the task was triggered by an event, the TTS message was spoken.

Any ideas?

0 Replies

You must be Logged in to reply
Techiio-logo

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Developed and maintained by Wikiance
Developed and maintained by Wikiance