Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!uw-beaver!mit-eddie!bbn.com!nic!eclectic!ari From: ari@eclectic.COM (Ari Halberstadt) Newsgroups: comp.sys.mac.programmer Subject: Re: _Launch on a (maybe) open application Message-ID: <253@eclectic.COM> Date: 28 Jun 91 04:55:32 GMT References: <7839@harrier.ukc.ac.uk> Organization: Eclectic Associates, Inc. Lines: 16 In article <7839@harrier.ukc.ac.uk> jcd2@ukc.ac.uk (J.C.Doig) writes: >I am trying to write a bit of code that will open a specific document in an >application that (may) already be running. I understand from TN205 that >MF currently does a sneaky grab of the menu bar and patches the SFD - can >I jump into that code ? Anyone know how ? Apple Events are an easy and compatible way of asking applications to do things. Apple Events come with system 7.0. Don't try to munge MultiFinder, and forget that old technote about launching, unless you *really* must have system 6.0 compatability. Get IM-VI as soon as it hits the UK, or get hold of the online version from one of the developer CDs. -- Ari Halberstadt ari@eclectic.com #include Ramsgate (n.) All institutional buildings must, by law, contain at least twenty ramsgates. These are doors that open the opposite way to the one you expect. -- D. Adams & J. Lloyd "The Meaning of Liff", p75.