Important: The information in this document is obsolete and should not be used for new development.
International Bundle Resource (Type ' itlb')
The international bundle resource (resource type'itlb'
) has two purposes. First, it is the bundle resource for a particular script system: by analogy with the Finder bundle resource type, it specifies the resource IDs for the other international resources and keyboard resources used by that script. (See the Finder Interface chapter of Inside Macintosh: Macintosh Toolbox Essentials for a description of Finder bundle resources.) Second, the'itlb'
resource contains configuration information for the script.Several script variables are initialized from this resource. Selectors for the script variables are listed in the chapter "Script Manager" in this book. If you need to change the initial values of those variables, you need to change the content of the international bundle resource itself. For example, to change the initial keyboard layout (script variable
smScriptKeys
) for a script system, you would change the value of the itlbKeys field of the international bundle resource. The user can makes this change from the Keyboard control panel; the user can make other changes to the'itlb'
resource from other control panels, as described under user control of script systems in the chapter "Introduction to Text on the Macintosh" in this book.Each script system has one and only one international bundle resource. The resource ID of the resource is that script system's script code. Therefore, once you know the script code for a particular script system, you can find all of the script's default international and keyboard resources by examining the international bundle resource whose ID equals that script code. For a list of defined script codes, see the chapter "Script Manager"
in this book.The original international bundle resource, defined by the
ItlbRecord
data type,
was defined for system software versions earlier than 7.0. The extended'itlb'
record, defined by theItlbExtRecord
data type, is defined for system software versions 7.0 and later. It includes the standard international bundle resource and adds extensions.
Subtopics
- The ItlbRecord Data Type
- The ItlbExtRecord Data Type