Language Guide
INDEX
378
Repeat statements (continued)
Repeat Until 200
Repeat While 199
Repeat With (loopVariable) From (startValue)
to (stopValue) 201–202
Repeat With (loopVariable) In (list) 202–203
required parameters 79
Required suite, of application commands 85
reserved words 20
Resizable property 325
Rest Of property 49
results 79, 82–83
result variable 83
result window 150
return character in strings 62
Return statements 222, 228, 240
Reverse property 49
Revert command 352
Run command 110–112
handlers for. See Run handlers 243
and Launch command 104
Run handlers
in script applications 243–246
in script objects 267–269
running scripts 9
S
's notation 124, 296
sample application xvii
Save command 112–113, 353
saving parameter 87, 109
scope, of variables and properties 252–264
scriptable applications 11
Scriptable Text Editor
commands 345–354
dictionary 19, 185, 313–355
and non-Roman script systems 317–318
object class definitions 318–344
script applications 243–252
calling 251–252
interrupting handlers in 250
script codes, and AppleScript 317
Script Editor 5, 30
script errors 206
scripting additions 23
introduced 74–75
in With Timeout statements 217
script objects 265–286
child 271–286
defined 265
initializing 266, 269–271
introduced 23
parent 268, 271–286
scope of identifiers declared within 258–262
sending commands to 268–269
script properties 156–158, 304
persistence of 254, 259–260
scope of 252–262
script reserved word 267
scripts
defined 3
running 9
scope of identifiers declared at top level
of 254–257
script systems and AppleScript 317–318
second[s] reserved word 218
second reserved word 131
Select command 354
Selection object class 334–336
Selection property 319, 325
Set command
in assignment statements 22, 150
defined 113–117
scope of variables set with 252–264
with script objects 283–284
seventh reserved word 131
short-circuiting, during evaluation 163
simple statements 16
simple values 33
sixth reserved word 131
Size property 321
slash symbol (/) 167
some reserved word 126
special characters
in identifiers 28
in strings 62