Playing an audio file until a key is pressed

Get help with using AutoHotkey and its commands and hotkeys
ctind
Posts: 23
Joined: 04 Nov 2019, 17:46

Playing an audio file until a key is pressed

Post by ctind » 17 Mar 2020, 11:42

So I've made a script that plays sounds on keypresses only while chrome is open. What I would like to do next is have it play an mp3 when only when chrome opens when I'm on YouTube, pauses the audio file when I select a video then resumes playing after I've stopped the video. Basically I want ambient sound to be playing as I'm searching for a video to play. Is this even possible?

Return to “Ask For Help”