I want to be able to "just pause" several media playing at once from say 5 apps. Not toggle. So I can't just send Space to those apps. Just pause them. Is that possible?
Tried doing this. Doesn't seem to be working, for example with spotify.
One downside is that this won't help with multiple medias playing at same time. As I do not think Apple's default Play/Pause supports it. (Tried from Apple Shortcuts and Applescript)
I think the condition "(BTTCurrentlyPlaying == 1 && BTTCurrentlyPlayingApp == "Plex") might work... If that condition is true, send space!
But I do not see them in variable selector dropdown
don't use returnToBTT in a function, just to a normal return, also don't call the function from within the java script, it will be automatically called via the "Async function to call"
returnToBTT is only required if you use a self executing async function
BUT: This does not work (I suppose that's why applescript / mac's defualt Play_Pause also doesn't work) when multiple media apps are running. I suppose I want an array?
I tried playing Plex and Spotify at once. And this gave only the one i started 1st EVEN AFTER i paused that!