GetChapters Document Query Command

GETCHAPTERS Document Queries

Gets the number of chapters in a document or chapter and their names.

getchapters [DOCUMENT name | CHAPTER name | WINDOW name]

stem/a Gets the chaper information.

DOCUMENT/s The document name. Default=current.

CHAPTER/s The chapter name. Default=current.

WINDOW/s The window name. Default=current.

Results:

The number of chapters in the document or chapter is returned to RESULT.

stem

0/s The name of the first chapter.

1/s The name of the second chapter.

etc.

Examples:

getchapters chapnames

 

GetChapters  Command Definition  url:PGScmd/getchapters
  created:2006-03-30 22:20:06   last updated:2006-03-30 22:20:06
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For GetChapters
Dan Kilroy wrote...2006-05-04 15:11:02

Script command submitted from PageStream internal documentation. Needs to be checked and merged with the command documentation above.

Gets the {...} .

count = GetChapters (&names/.0.1... [DOCUMENT document | CHAPTER document:... | WINDOW document-window])


Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For GetChapters