Previous Book Contents Book Index Next

Inside Macintosh: Apple Guide Complete / Part 4 - Scripting Guide Files
Chapter 10 - Guide Script Command Reference / Guide Script Command Descriptions
/ Creating Sequences

<Build Sequence>

You can use the <Build Sequence> command to build a sequence that isn't accessed from another panel or whose topic doesn't appear in an access window, such as a help sequence called directly by your application to provide context-sensitive help.

<Build Sequence> sequenceName, [ seqResID ]
A string identifying the name of a defined sequence (that is, a sequence defined with the <Define Sequence> and <End Sequence> commands).
A resource ID to be assigned to this sequence. Use a resource ID greater than 2000. This parameter is optional and, if it's not provided, Guide Maker assigns a resource ID to the sequence.
The <Build Sequence> command compiles the specified sequence and stores it as a resource in the guide file. Your application can directly invoke a sequence built by the <Build Sequence> command by specifying its resource ID in the sequenceID parameter of the AGOpenWithSequence function.

<Build Sequence> "name of sequence", 2001
For information on the <Define Sequence> and <End Sequence> commands, see page 10-39 and page 10-51, respectively.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
12 JUL 1996