Copyright Apple Computer, Inc. 1991-1994. All rights reserved.
These suites are all separate files under System 7.x and OS 8.1
AGStart
beep integer -- number of times to beep
choose application
[application label string] -- used as prompt for application list
[with prompt string] -- optional descriptive text
Result: application -- application chosen
choose file
[with prompt string] -- optional user prompt
[of type list] -- list of file types to display (up to 4)
Result: alias -- chosen file
choose folder
[with prompt string] -- optional user prompt
Result: alias -- chosen folder
current date
Result: anything -- date object
display dialog anything -- title of dialog
[default answer anything] -- default editable text
[buttons list] -- list of up to three buttons
[default button anything] -- name or number of default button
[with icon anything] -- name or id of the icon to display
[with icon stop/note/caution] -- display one of these system icons
Result: reply -- record containing the button hit and text entered (if any)
button returned reply [r/o] -- name of button chosen
text returned reply [r/o] -- text entered (if any)
Encode URL anything -- text to be encoded
Result: 'char' -- Encoded URL string
info for file specification -- Target file or folder.
Result: file info -- Information for file or folder specified.
list disks
Result: list -- List of mounted disks.
list folder file specification -- path or alias to specified folder
[invisibles boolean] -- list invisible files? (default is true)
Result: list -- list of items in specified folder
path to apple menu/apple menu items/apple menu items folder/control panels/control panels folder/desktop/extensions/extensions folder/fonts/fonts folder/preferences/preferences folder/printmonitor/printmonitor documents/trash/startup items/startup items folder/.. -- The folder or application to return.
[as type class]
Result: anything -- Path name to folder or application specified.
name string [r/o]
creation date date [r/o]
modification date date [r/o]
icon position point [r/o]
visible boolean [r/o]
size integer [r/o]
folder boolean [r/o]
folder window bounding rectangle [r/o] -- Used with folders only.
locked boolean [r/o] -- Used with files only.
file creator string [r/o] -- Used with files only.
file type string [r/o] -- Used with files only.
short version string [r/o] -- Used with files only.
long version string [r/o] -- Used with files only.
default application alias [r/o] -- Used with non-application files only.
alias boolean [r/o] -- Is this file an alias?
load script alias -- script file to load
Result: anything -- returns script object or error code
monitor depth
Result: anything -- Current Monitor Depth
max monitor depth
Result: anything -- Maximum Monitor Depth
set monitor depth anything -- Desired bit depth for the monitor
[Result: anything] -- The reply is not required
min monitor depth
Result: anything -- Minimum Monitor Depth
new file
[with prompt string] -- prompt to use
[default name string] -- default file name
Result: file specification -- File specification for file to create.
round extended real -- number to round
[rounding up/down/toward zero/to nearest] -- specify rounding direction,
default is rounding to nearest
Result: integer -- rounded value
random number anything -- number to randomize (If included, random number from 0 to this value.
If no number specified, then a value between 0 and 1 is returned.)
[from anything] -- from value
[to anything] -- to value
[with seed anything]
Result: anything -- random number returned
open for access alias -- File to open.
[write permission boolean] -- If true, the file wll be opened with read/write access.
If false, the file will be opened with read access only.
Result: small integer -- Reply contains error or file reference number.
close access anything -- Reference number or file to close.
[Result: integer] -- Error code if any.
get eof anything -- Reference number or file to return eof information for.
Result: integer -- End of file for specified file.
set eof anything -- Reference number or file to set eof for.
to anything -- New value for end of file.
[Result: integer] -- Error number, if any.
read anything -- reference number or file to read
using delimiters list -- Delimiters to use. May use 1 or 2 delimiters.
using delimiter anything -- Delimiters to use. May use 1 or 2 delimiters.
[as anything] -- read this data in this form
[for integer] -- read for this number of bytes
[before string] -- Read to this delimiter excluding it. A delimiter is a single character.
[until string] -- Read to this delimiter including it. A delimiter is a single character.
[to integer] -- read from current mark to this byte
[from integer] -- read from this byte
Result: anything -- data returned or error
write anything -- Data to write.
[for integer] -- number of bytes to write
[starting at integer] -- start writing at this offset from beginning of file
to anything -- reference number or file to write to
[as type class] -- write data in this form
[Result: integer] -- Returns error, if any.
run script script -- script or script file to execute
[with parameters list] -- list of parameters
[in string] -- scripting component to use, default is current scripting component
Result: anything -- result of running script
set volume anything -- sound volume level
store script script -- script object to store
in alias -- path to file to store in
[replacing ask/yes/no] -- control display of save as dialog
Result: integer -- error returned from storing (if any)
ASCII character small integer -- ASCII code of specified character.
Result: string -- The character.
ASCII number string -- The character.
Result: small integer -- Number of specified character.
offset
of string -- Text to find offset of.
in string -- Target text to find offset in.
Result: integer -- Position in text or 0 if not found.
time to GMT
Result: integer
|| url: http://www.foodoo.sunreal.com.au/info/dictionaries/Std_Addns_110_asDict.html
|| created: 4-Aug-03, 9:48 PM; updated: 4-Aug-03, 2:48 PM
|| size: 48557 bytes