Path: utzoo!attcan!utgpu!watmath!iuvax!rutgers!bellcore!wind!sdh From: sdh@wind.bellcore.com (Stephen D Hawley) Newsgroups: comp.sys.mac.programmer Subject: Re: How can a desk accessory find application windows? Message-ID: <17368@bellcore.bellcore.com> Date: 9 Aug 89 14:36:28 GMT References: <1405@bnr-fos.UUCP> Reply-To: sdh@wind.UUCP (Stephen D Hawley) Organization: Bellcore, Morristown, NJ Lines: 11 In article <1405@bnr-fos.UUCP> momtahan@leibniz.uucp (Parham Momtahan) writes: [wants to get title of frontmost window] Does your DA open a window? If so, open it, and grab the nextWindow field of your DA's window record. This will be the next window under yours, which is probably (but not guaranteed to be) the application's window. Steve Hawley sdh@flash.bellcore.com "Up is where you hang your hat." --Jim Blandy, computer scientist