[comp.sys.mac.programmer] A few Apple Event questions.

larryh@techbook.com (Larry Hutchinson) (06/29/91)

Q1:	I have been staring blankly at the section titled "Data Structures
	Within Apple Events" in IM Chap. 6 with the hope of understanding
	where one might use AEPutKeyDesc as opposed to AEPutParamDesc.  What
	good is an AERecord.  Can anyone give a scenario for the use of
	AEPutKeyDesc?  (I use AEPutParamDesc all the time.)

Q2:	What is the difference between required and optional event parameters?
	I don't see any way to specify that a given parameter one is adding to
	an AppleEvent is optional.  For example, take the Close event: the
	parameter keyAESaveOptions is supposed to be optional but if I include
	it then the receiving program had better have read it before it calls
	it's GotRequiredParams function.  i.e., it doesn't appear to be very
	optional to the receiver.  Am I missing something?
	
Q3:	Where is it documented that Apple Events are limited to 64 KB of data?

Thanks,

Larry Hutchinson
WaveMetrics@AppleLink.Apple.COM
or...
-- 
larryh@techbook.COM  ...!{tektronix!nosun,uunet}techbook!larryh
Public Access UNIX at (503) 644-8135 (1200/2400) Voice: +1 503 646-8257
Public Access User --- Not affiliated with TECHbooks