title: Cocoa: Get frontmost window of active application
body: <p>How can I get the NSWindow object from the frontmost application? What I'm trying to do is a SizeUp, so from my app I could resize the frontmost window of any app.</p>