Scripting Additions Guide

INDEX
115
O
object class definitions
File Info, returned by Info For 29–31
Reply, returned by Display Dialog 24
Object Support Library 93
Offset command 39–41
and Scriptable Text Editor’s Offset property 4
OpenFileIfItExists handler 82–83
Open for Access command 41–43
'osax' resource type 85–104
'osiz' resource 89–90
owned resources, for scripting additions 89, 91
P, Q
parentheses, in syntax descriptions xi
Path To command 43–45
placeholders, in syntax descriptions xi, 110–111
Play Sound scripting addition 93–104
R
Random Number command 46–48
Read command 48–53
ReadRecord handler 71–73
Read/Write Commands
Close Access 19–21
deleting a record with 73–77
extracting a record with 71–73
Get EOF 27–28
inserting a record with 77–81
Open for Access 41–43
opening or creating a file with 81–83
Read 48–53
Set EOF 58–60
using 70–83
Write 68–70
records, used for reply values 91–93
Reply object class 24
reserved words 3
resource chain, and scripting additions 91
resource type declaration, for 'osiz'
resource 89–90
Round command 54–55
Run Script command 55–57
S
Scriptable Text Editor x
scripting additions
Apple event coercion 87–88
Apple event handler 86–87
commands 5–83
defined 1
dictionaries 3, 5
example in C 93–104
files for standard 5–8
installing 1–2
listed 6–8
owned resources 89, 91
resource chain and 91
sending 2–4
types of 85–88
using records for reply values 91–93
writing 85–104
Scripting Additions folder 2
scripting addition size resource 89–90
Scripting Components command 57–58
Set EOF command 58–60
Start Log command 60–62
Stop icon, displayed by Display Dialog 26
Stop Log command 62–63
Store Script command 63–66
String Commands
ASCII Character 10–11
ASCII Number 11–12
Offset 39–41