File SendOpen.r containing Rez source for the 'SIZE' resource. Because you're working with Apple events, you must include a SIZE resource with the isHighLevelEventAware bit set:
resource 'SIZE' (-1, purgeable) { SummaryLaunching an application with a document under System 7 requires the use of the AppleEvent Manager to either directly send an open document event to an existing application or indirectly send an open document event to an application as part of its launch sequence. This Technote describes how you can do this in your applications and provides a simple example of how you can use the technique.
Further References
Technotes Previous Technote | Contents | Next Technote |