Document from Outline

Here’s an example of AppleScript’s ability to transfer data between applications, to pour the source material into a newly created document, and to apply multiple formatting procedures to the text flow.

In this script example, the contents of an OmniOutliner outline document are transformed into a Pages word-processing document. The contents of each outline section become a new section in the Pages document. In addition, the script generates a table of contents for the new document.

An Omni Outliner document containing the Constitution of the United States in outline format.

(⬆ see above ) An Omni Outliner document containing the Constitution of the United States in outline format.

(⬇ see below ) The completed Pages document. In the process, the sections of the Omni Outliner document become sections in the Pages document. Optionally, the script can generate a Table of Contents. (Note: the tab leader formatting shown in the illustration is not part of the script processing)

The completed Pages document. In the process, the sections of the Omni Outliner document become sections in the Pages document. Optionally, the script can generate a Table of Contents.

DO THIS ►DOWNLOAD the example Omni OmniOutliner document.

OmniOutliner, from the Omni Group, is available for purchase from the Mac App Store, or as a trial version from the Omni Group website.

Download the example file, open and run the script.

TOP | CONTINUE