You'll have to enumerate the windows and examine each one to see whether it has the properties you're looking for. If you already know that they all have the same name then you can't just use an arbitrary name and expect it to work just because it would be convenient for you.