How could I specifically get the name of a window that I want to focus and not have to sort through them oddly?
How would I find a specific window without having to oddly sort through every window I have open? I'm looking to just get the name of my open Spotify window but the solution I made wasn't very good and it would often pick up on other open windows. I want to be able to track the artist name and the title of the song that I'm listening to. How I got this was I just looked up "How to get the name of a specific opened window" and I searched for a bit and this was the best I found. import pygetwindow as a import os, time #Just a few words that it'll ignore ignore = [ "Spotify", "Firefox", "Steam",
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.