[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Open and open terms in MacPerl



<x-flowed>At 9:02 -0500 3/23/99, Paul J. Schinder wrote:
> } Let's just check that I understand how all this is meant to work,
> } since I've never written a Mac program in my life! I gather that
> } dragging a file onto an application is implemented by the Finder
> } starting the application and sending it an 'odoc' AppleEvent.

I suspect that Finder uses the LaunchApplication toolbox trap to ask 
the Process Manager to both launch the app and send the initial Apple 
event (odoc in this case).  One of the parameters to 
LaunchApplication is--in essence--the Apple event which is to be sent 
first (there's some coercion magic hidden in there).

It's possible that newer Finders use some other technique, of course.

   --John
--
John Baxter   jwblist@olympus.net      Port Ludlow, WA, USA
Give a man a fish and you feed him for a day.  Teach him to fish,
and you get rid of him for the weekend.

===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org

</x-flowed>