works consistently so far. The only glitch is if the window is already in focus, #3 will toggle it to the background.
Will do more experimenting with the appactivate method.
I made a little workaround by pinning spotify in the 3rd position on the task bar. Windows lets you activate task bar items with windows key and the position number (i.e. #3). So my new script reads: sendkeys "#3" sleep (200) sendkeys " " Except now I've learned about the (already documented) Sleep ...
Hello. Thanks for this great piece of software. I'm a little new to scripting but i'm a power google user so bear with me. I'm attempting to create a macro that switches windows to Spotify and sends the space bar which should pause/play. Spotify doesn't support global hotkeys so the window must be i...