Title Banner

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
/ Specifying Startup Information


<Version>

You can use the <Version> command to specify values for the version resources of your guide file.

<Version> longVers1BottomOfGetInfo, shortVers1ForFinderListViews
         [, longVers2TopOfGetInfo]
longVers1BottomOfGetInfo
A string containing the information for your guide file's long version message in its version resource with resource ID 1. When the user selects your guide file and then chooses Get Info from the File menu of the Finder, the Finder displays information from your long version resource in the version field at the bottom of the information window.
You typically provide the file version number of your guide file and your company's copyright information in this parameter.
shortVers1ForFinderListViews
A string containing the information for your guide file's version number for its version resource with resource ID 1. The Finder displays information from this short version resource when it shows files in list view.
longVers2TopOfGetInfo
A string containing the information for your guide file's long version message in its version resource with resource ID 2. The Finder displays, near the top of the information window (beneath your guide file's name and next to its icon), information from this version resource. You typically provide the version number of your guide file in this parameter, or, if your guide file is part of a set of guide files that you distribute, you provide the version number of the superset of files that it belongs to in this parameter. This parameter is optional.
DESCRIPTION
The <Version> command sets the guide file's version resources to the specified values. Providing this information helps the user distinguish between different versions of your guide file.

SPECIAL CONSIDERATIONS
The <Version> command should appear no more than once in your source files.

EXAMPLES
<Version> "1.0 (US), © Apple Computer, Inc. 1994", "1.0",�
          "(for SurfWriter 3.0)"
SEE ALSO
For information on the version resources, see the chapter "Finder Interface" in Inside Macintosh: Macintosh Toolbox Essentials.

You can also specify script and region information for your guide file, using the <World Script> command, described next.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
12 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help