Scripting Additions Guide

APPENDIX
Scripting Additions at a Glance
Scripting Addition Commands 107
display dialog display dialog dialogString ¬
[ default answer dialogString ] ¬
[ buttons buttonList ] ¬
[ default button integer | dialogString]¬
[ with icon integer | dialogString ]
Record with two
properties, Button
Returned
(a string) and Text
Returned
(a string)
get eof get eof referenceToFile Integer
info for info for referenceToFile File Info record
list disks list disks List of strings
list folder list folder referenceToFolder List of strings
load script load script referenceToFile Script object
log log string None
new file new file Reference
new file with prompt dialogString
) new file default name dialogString
new file with prompt dialogString ¬
default name dialogString
offset offset of string in string Integer
open for access open for access referenceToFile File reference number
open for access referenceToFile ¬
write permission Boolean
path to path to folderOrApplication Alias or string
path to folderOrApplication ¬
as className
continued
Table A-1 Command syntax for standard AppleScript scripting additions (continued)
Command Syntax Result