User (davidg@icarian.com) posted:

Just do a
print("{YourWindow}")