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 Panels


<Panel Prompt>

You can use the <Panel Prompt> command to specify a set of navigation prompt strings for the current panel.

<Panel Prompt> promptSetName
promptSetName
The name of a defined prompt set, or the constant NONE to indicate that the panel doesn't require prompts.
DESCRIPTION
The <Panel Prompt> command overrides the default navigation prompt set (the default for all panels in all sequences) and the default sequence prompt
set (the default for all panels in a sequence). You define a navigation prompt set (for specification in the promptSetName parameter) using the <Define Prompt Set> command. If you indicate that the panel doesn't require prompts, Guide Maker allocates no space for prompts when it compiles the panel.

SPECIAL CONSIDERATIONS
A panel can have only one panel prompt set associated with it. If Guide Maker encounters more than one <Panel Prompt> command for a single panel, it uses the last one encountered for that panel.

If you use the <Panel Prompt> command, it must always appear between the <Define Panel> and <End Panel> commands.

EXAMPLES
<Define Prompt Set>  "special prompts" �
                  "Click the right arrow to continue.", �
   "Click the left arrow to go back or the right arrow to go on.", �
                  "That's all, you're done!", �
               "Select one, then click the right arrow to continue."
<Define Panel> "Example Panel 1"
   #this panel uses the prompt set defined by "my panel prompts"
   <Panel Prompt> "my panel prompts" 
<End Panel>

<Define Panel> "Example Panel 2"
   <Panel Prompt> NONE     #this panel doesn't require prompts
<End Panel>

<Define Panel> "Example Panel 3"
                           #this panel uses sequence prompts
<End Panel>

<Define Sequence> "Example Sequence 3"
   #this sequence uses the prompt set defined by "special prompts"
   <Sequence Prompt Set> "special prompts"
   <Panel> "Example Panel 1" #overrides sequence prompt set
   <Panel> "Example Panel 2" #uses no prompts
   <Panel> "Example Panel 3" #uses sequence prompt set
<End Sequence>
SEE ALSO
For a description of the <Define Prompt Set> command, see page 10-37.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
12 JUL 1996