Overview of the Script Manager Routines
Overview of the Script Manager Routines
The Script Manager 2.0 routines have not previously been documented
here. The routines new with version 7.0 let you localize word selection and
line break tables, truncate text, substitute text, convert case and strip
diacritical marks, and handle justified text. For comprehensive discussions of
the Script Manager routines available prior to system software version
7.0, see Macintosh Worldwide Development: Guide to System Software.
You can use the Script Manager routines to
• check and modify the Script Manager's global and local variables
• check and set system variables
• set or restrict the current keyboard
• obtain script information
• obtain character information
• manipulate text
• interpret different scripts and languages lexically by converting text
into a series of text-independent tokens
• manipulate dates and times
• manipulate formatted numbers
Assembly-language note: You can invoke each of the Script Manager
routines that uses the _ScriptUtil trap with a macro that has the same name as
the routine preceded by an underscore.