Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!unmvax!ncar!ames!killer!pollux!ti-csl!m2!holland From: holland@m2.csc.ti.com (Fred Hollander) Newsgroups: comp.sys.mac.programmer Subject: Re: Passing finder information during a "Launch" command Keywords: Launch Message-ID: <64450@ti-csl.CSNET> Date: 27 Nov 88 23:52:38 GMT References: <2590@munnari.oz> Sender: news@ti-csl.CSNET Reply-To: holland@m2.UUCP (Fred Hollander) Organization: TI Computer Science Center, Dallas Lines: 24 In article <2590@munnari.oz> iand@munnari.oz (Ian Robert Dobson) writes: >I am writing an application in which I want to be able to launch (NOT >sublaunch) to other applications while passing the same information that >the Finder does when it launches an application (so I can specify a >document to open). Since the application heap will get cleared when my The information that the application gets is in the global AppParmHandle. I don't recall the exact structure, but there is a document count, followed by a structure for each document that includes the filename, vRefNum and file type. >application dies, how do I ensure that the finder information sticks >around. Also, do I just store the handle to the information in the same >low-mem globals I can get it from, or is there something more to do? The information should remain intact until the application clears it or until you return to the Finder. Fred Hollander Computer Science Center Texas Instruments, Inc. holland%ti-csl@csnet-rela The above statements are my own and not representative of Texas Instruments.