Power App > slTalk - Forum

Forum Navigation
You need to log in to create posts and topics.

Power App > slTalk

Power App > slTalk

The slTalk text to speech command continues to talk even after I close my app.

Is there an action to stop talking when exiting a page?

Thanks.

BeginJS
    if('speechSynthesis' in window){
        window.speechSynthesis.cancel();
     }
EndJS

@fkapnist try this.

Regards.

 

Quote from luishp on March 15, 2023, 3:16 pm
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
BeginJS
if('speechSynthesis' in window){
window.speechSynthesis.cancel();
}
EndJS
BeginJS if('speechSynthesis' in window){ window.speechSynthesis.cancel(); } EndJS
BeginJS
    if('speechSynthesis' in window){
        window.speechSynthesis.cancel();
     }
EndJS

@fkapnist try this.

Regards.

 

Thank you!

.