This is what I mean: it doesn't matter if there's no active window, it just returns `None`, and the code does nothing.
This is what I mean: it doesn't matter if there's no active window, it just returns `None`, and the code does nothing.