Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!psuvax1!rutgers!cbmvax!vu-vlsi!swatsun!jackiw From: jackiw@cs.swarthmore.edu (Nick Jackiw) Newsgroups: comp.sys.mac.programmer Subject: Launching with Document List Message-ID: <1989Dec4.163228.8362@cs.swarthmore.edu> Date: 4 Dec 89 16:32:28 GMT Reply-To: jackiw@cs.swarthmore.edu () Organization: Visual Geometry Project, Swarthmore College, PA Lines: 29 (The novitiate kneels at the altar of the *.programmer gods, holding his flaming offering above his head. Sparks ride torrents of hot air from the miniature inferno, which closer inspection reveals to be THE COMPLETE MAC TECHNOTES, flambe'...) I'm interested in launching an application with a list of documents for it to open. This is *not* for a full Finder substitute, it's for a "ReadMail" program which hands off various mail messages to their appropriate document-readers (MacPaint for PNTG, MacWrite for TEXT, etc.). Problem: I can't find (InsideMac, TechNotes) instructions for setting up the file-list and passing it to a newly-launched application. I imagine this must be documented *somewhere*--in days past, Finder substitutes were a dime a dozen and even today, lots of programs (e.g. Powerstation) are doing it fine. Hacking with TMON shows that this block is actually sitting in the application's heap when the application opens---how do you get it in there before Launch? Any assistance you can offer will heap blessings upon thy head. Thanks! -- _ _|\____ Nick Jackiw | Visual Geometry Project | Math Department / /_/ O> \ ------------+-------------------------+ Swarthmore College | O> | 215-328-8225| jackiw@cs.swarthmore.edu| Swarthmore PA 19081 \_Guernica_/ ------------+-------------------------+ USA