Problem:
Is there a way to create an Execute javascript action for a button that On Click would mute and then On Click would unmute a list of many audio objects that are on different slides that would stay muted until the button is clicked again to change it (so it doesn’t reset after every slide change)? Or something similar that has the same function.
Yes, it is possible to achieve that in ActivePresenter.
You can add an Execute JavaScript action to the project On Load event. (ActivePresenter button > Project > Properties > Properties pane > Interactivity tab) then enter the following scripts:
Thanks for replying Thuy! Sorry I forgot to mention that I just need the button to appear on one slide if possible. I would like the button to mute a specific list of audio tracks (with different names) not all audio tracks. I’m new to using javascript on projects so I’m not sure if this is possible to do on ActivePresenter.
Many thanks
Kindly check the attached project to see if it addresses your concern.
Then, open the project On Load event > Execute JavaScript action (ActivePresenter button > Project > Properties > Properties pane > Interactivity tab).
To mute specific audio tracks, you can enter their name in the first line of the script.