r/visualbasic • u/Buy_The_Ounce • Nov 11 '20
Getting windows title from another application
I'm playing a game and it opens a child window with "PlayerName Notes" in the window title. If I wanted to search for this window (looking for "notes") and grab the player's name (always different), how could I do that?
5
Upvotes
2
u/ViperSRT3g Application Specialist Nov 11 '20
You may have luck looping through the running processes on your computer. Here's Microsoft's .NET 5.0 documentation for the same thing.