Script Mgr
Script Information
FontScript Obtain script code for the font script
IntlScript Obtain script code for the International Utilities script
KeyScript Set the keyboard script
Character Information
CharByte Check character type of byte at given offset
CharType Check character type of byte at given offset
ParseTable Check for additional byte in character
Text Editing
Pixel2Char Find nearest character offset
Char2Pixel Find the screen position of carets and selection points
FindWord Locate a position in a string
HiliteText Find characters between two offsets for highlighting
DrawJust Draw this text in this spot
MeasureJust Measure a text string
NFindWord Locate a position in a string
TruncString Truncate a Pascal string
TruncText Truncate unformatted text
ReplaceText Replace indicated text with specified substitution
UprText Provide non-localizable uppercasing
UpperText Provide localizable uppercasing
LwrText Provide localizable lowercasing (same as LowerText)
LowerText Provide localizable lowercasing,
StripText Remove diacritical marks from text
StripUpperText Remove diacriticals, then convert to uppercase
NChar2Pixel Find screen position of carets and selection points
NDrawJust Draw text at current pen location
NMeasureJust Measure text for justification
NPixel2Char Find the nearest character offset
NPortionText Indicates the correct proportion of justification
FindScriptRun Find the next block of Roman/native text in a script run
PortionText Determine how to distribute the slop value for a line
GetFormatOrder In what order should format runs be drawn?
StyledLineBreak Break line on a word boundary
VisibleLength Get the length of specified text
Lexically Interpreting Different Scripts
IntlTokenize Recognize Tokens
Date and Time Utilities
InitDateCache Format the date cache record
String2Date Parse text for use in the date-time record
String2Time Parse text for use ing the date-time record
LongDate2Secs Convert date to a LongDateRec format
LongSecs2Date Convert time to a LongDateRec format
ToggleDate Modify a LongDateTime parameter
ValidDate Check the validity of a LongDateRec
Reading and Storing Locations
ReadLocation Where is this Macintosh and what time is it?
WriteLocation Store machine's location and time zone data in RAM
Number Utilities
Str2Format Convert a string into a canonical number format type
Format2Str Convert a canonical number format to a format string
FormatX2Str Convert a SANE number into a numeric string
FormatStr2X Convert a numeric string into a SANE number
Advanced Routines
Transliterate Convert text to best approximation in a different script
Font2Script Translate a font ID into a script code
System Routines
GetScript Retrieve local script variables and routine vectors
SetScript Set local script variables and routine vectors
GetEnvirons Retrieve value of Script Manager global variables
SetEnvirons Change global variables and routine vectors
GetDefFontSize Retrieve the size of the current default font
GetSysFont Fetch the ID of the current system font
GetAppFont Fetch the ID of the current application font
GetMBarHeight Fetch the height of the menu bar
GetSysJust Say whether system font is right- or left-justified
SetSysJust Change justification of system script