Microsoft Solitaire - new version - new title bar
I received a new version of Solitaire today (4.15.11152.0). The title bar text has changed to "Solitaire & Casual Games". This breaks your code based on Issue #23.
Thanks for finding the problem and posting the version number! For some reason I'm still on version 4.14.9130.0 and it didn't upgrade. I think what I have to do is try to make it support both titles, "Solitaire Collection" and "Solitaire & Casual Games", and see what happens.
I created a new version at https://github.com/mchung94/solitaire-player/releases/tag/v2.6.7 where it will try to look for a window with the title "Solitaire & Casual Games" but if it can't find it, it'll try "Solitaire Collection". I don't have the new version so I hope it works but it could be that other things changed too that I have to fix when I am able to upgrade to the latest version.
The new version (2.6.7) works great. Thank you.