Implementing Stationery

Registering without NewtApp

There are two common cases where you'll be creating stationery that is not part of a NewtApp application. Because the registration depends on the way the application is constructed, let's look at the two types:

1. You are installing stationery separate from an application. That is, the stationery is all that is in the package.

2. You have a (non-NewtApp) application that supports embedding stationery and has some stationery bundled with it. That is, the stationery and the application are both part of the package.

In both cases, you'll register your stationery in your InstallScript and unregister it in your RemoveScript. In case 1, you'll be creating an auto part (an extension which exists only for its InstallScript and RemoveScript), while in case 2 you'll make a form part (one which has a template hierarchy associated with it).

Registering an Auto Part
Registering a Form Part

An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.

Last modified: 1 DEC 1996