[comp.sys.mac.programmer] Passing params to a _Launch'd application

davism@csgrad.cs.vt.edu (04/24/91)

We need to be able to launch an application from within our program and
pass file parameters to it (i.e., just like the Finder does when you 
double-click on a document or like the HyperCard 'launch "doc" with "app"'
statement).  We can't seem to find anything on how to do this, though.

We have the Tech Notes on sublaunching and the sections from Inside Mac
that describe _Launch (and chaining) and also describe the form and location
of the application parameters, but we just can't figure out how to set 
up such a structure ourselves and get it passed to the launched application.

Any help or suggestions will be greatly appreciated.

Please e-mail replies to 'davism@vtopus.cs.vt.edu'; I don't have easy
access to Usenet at the moment :-).

------------------------------------------------------------------------
				Mat Davis
			davism@vtopus.cs.vt.edu
------------------------------------------------------------------------