If you open https://scryfall.com/search?q=%21zur+the+enchanter in Chrome,
You'll see that the title is "!zur the enchanter · Scryfall Magic Card Search - Google Chrome" (I also got it from F12 console and just adding the last part)
I'm afraid that the character · is messing up my code.
Code: Select all
IfWinExist, !zur the enchanter · Scryfall Magic Card Search - Google Chrome
{
msgbox, YES
} Else
{
msgbox, NO
}
Do you guys know a workaround?
Btw, Several years ago I worked something similar including only the first part of the window name:
Code: Select all
IfWinExist, !
{
msgbox, YES
} Else
{
msgbox, NO
}
Any pointers?
Thanks