If I understand correctly, you want audio to play upon a timer ending.
You are on the right track. There's a few things to understand to proceed:
Here's a way you can set this up:
Insert these controls:
Setup these properties
Audio1.Start: playAudio Audio1.OnEnd: Set(playAudio,false)
The big idea:
Timer2 ends -> triggers a variable true -> when variable is true, then Audio plays -> when audio is done, it returns variable to false
Please let me know if this helps. Attached is an app file in a zip that illustrates this.
Hey @mr-dang ,
I want to build a pomodoro-app, where the audio should play after the countdown is finished, but with the app-screen bot being open (because I'm working on sth else instead). Haven't found a way yet.
Any ideas if/how this is this possible?
@Imke , by default the timer and audio controls have an AutoPause property that is set to true. This means that when the screen is not active, the controls will pause. If you flip that to false, then they can continue going.
Can you flip it to false and let me know if it works out for you?
Thank you @Mr-Dang-MSFT for quick response, but this doesn't work unfortunately.
The Auto-Pause settings don't seem to have any effect on this behaviour.
There is even an idea for this "feature", but I see it more as a current bug:
Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.
Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.
Featuring samples like Return to the Workplace and Emergency Response Applications
Features releasing from October 2020 through March 2021