Path: utzoo!attcan!uunet!lll-winken!lll-lcc!ames!ncar!mailrus!tut.cis.ohio-state.edu!rutgers!apple!lsr From: lsr@Apple.COM (Larry Rosenstein) Newsgroups: comp.sys.mac.programmer Subject: Re: Finding out What Application is Running Keywords: Desk Accessories, CurApName Message-ID: <22991@apple.Apple.COM> Date: 29 Dec 88 05:06:14 GMT References: <9065@ut-emx.UUCP> Organization: Advanced Technology Group, Apple Computer Lines: 20 In article <9065@ut-emx.UUCP> jdm@ut-emx.UUCP (Jim Meiss) writes: > > In my desk accessory, I need to tell whether I've been opened >under Excel, because Excel always keeps its edit window as the >frontmost window. Checking the application signature is better than checking CurApName (since user's can't change the signature), but there is nothing to say that the next version of Excel won't have a different signature. (Aldus and Adobe have both done this with their respective programs.) What is it that you are trying to do? It might be better to check for the undesirable window configuration, and work from there. (That way if soem other application does the same thing, you are still covered.) Larry Rosenstein, Object Specialist Apple Computer, Inc. 20525 Mariani Ave, MS 46-B Cupertino, CA 95014 AppleLink:Rosenstein1 domain:lsr@Apple.COM UUCP:{sun,voder,nsc,decwrl}!apple!lsr