Language Guide
APPENDIX A
The Language at a Glance
290 Commands
Table A-1 Command syntax
Command Syntax Result
close
(application
command)
close referenceToObject None
close referenceToObject saving in referenceToFile
close referenceToObject saving saveOption
close referenceToObject saving in referenceToFile
saving saveOption
copy
(AppleScript
command)
( copy | put ) expression ( to | into) variablePattern Value copied
copy
(application
command)
( copy | put ) expression ¬
( to | into) referencePattern
Value copied
(none if no
parameters are
included)
( copy | put )
( copy | put ) referenceToObject
count
(AppleScript
command)
count compoundValue
count [ each | every ] className ( in | of ) ¬
compoundValue
Integer
number of compoundValue
number of pluralClassName ( in | of ) compoundValue
count
(application
command)
count [ each | every ] className
count [ each | every ] className
( in | of ) referenceToObject ]
Integer or
list of integers
number of className
number of className [ ( in | of ) referenceToObject ]
continued