AppleScript Tutorial Wiki
Title Read
Dictionary Standard Additions
Suite File Read/Write
Parameters 8

Read is a Command in the File Read/Write Suite of the Standard Additions Dictionary.


readv : Read data from a file that has been opened for access

read any : the file reference number, alias, or file reference of the file to read
  • [from integer] : starting from this position; if omitted, start at last position read from
  • [for integer] : the number of bytes to read from current position; if omitted, read until the end of the file…
  • [to integer] : …or stop at this position…
  • [before text] : …or read up to but not including this character…
  • [until text] : …or read up to and including this character
  • [using delimiter text] : the value that separates items to read…
  • [using delimiters list of text] : …or a list of values that separate items to read
  • [as type class] : the form in which to read and return data
→ any : the data read from the file

Open for Access, Close Access, Write.