[Prev][Next][Index][Thread]

Re: Executor Features



On Fri, 21 Apr 1995, Clifford Thomas Matthews wrote:

> Hi Thurman,
> 
> Mat already responded to much of your post, but I have a few specifics
> to add.
> 
> >>>>> "Thurman" == Thurman Gillespy <tg3@u.washington.edu> writes:
> 
>     Thurman> Unfortunately, I require some System
>     Thurman> 7 features, actually just the 4 required apple events,
>     Thurman> and the calls to CustomGetFile, CustomPutFile
> 
> Hmmm, as I understand it, the 4 required Apple Events are open your
> application, open a document, print a document and quit, right?  Won't
> your app also have menu items to do that?

Of course, there isn't a menu command to launch the application, but 
otherwise, yes. I actually send Apple Events to myself, per current 
Apple recommendation, which means I could be scriptable in the future.
 
> Right now *any* use of Apple Events will cause Executor to crash and
> burn, but fairly soon, we'll "spoof" Apple Events to the extent that
> you'll be able to make the calls, but you just won't see any events.
> It seems to me that such spoofing will be sufficient for your (and
> many other programs') needs, no?

I'm not sure what you mean by "spoof". The cannonical method is to use 
Gestalt to check if Apple Events are present. So I assume you will have 
Gestalt answer nope, no AE in THIS machine. As of right now, if I don't 
receive any Apple Events, my app won't open any docs or be able to quit. 
But this is easy to program around. But I NEED TO KNOW that AE are not there.

> I will also be adding real support (not spoofing) for a bunch of
> System 7 filesystem calls, and that should include CustomGetFile and 
> CustomPutFile (and the other System 7 Standard File Package routines).

These are a delight to the developer, so supporting them is a good idea.

-thurman