Copyright © 1997 Trustees of Dartmouth College. All rights reserved.
applications
window by numeric index, by name
transfer window by numeric index, by name
help window by numeric index, by name
text window by numeric index, by name
bookmark list window by numeric index, by name
shortcut window by numeric index, by name
transcript window by numeric index, by name
remote item by numeric index, by name
remote file by numeric index, by name
remote directory by numeric index, by name
url by name
bookmark by numeric index, by name
Best Type type class [r/o] -- The best descriptor type
Class type class [r/o] -- The class
Clipboard a list of anything -- The clipboard
Default Type type class [r/o] -- The default descriptor type
Frontmost boolean [r/o] -- Is this the frontmost application?
Name international text [r/o] -- The name
Version integer [r/o] -- The version number of the application
word-wrap margin small integer
text file creator type class
default cache timeout small integer
decode binhex boolean
decode macbinaryI boolean
decode macbinaryII boolean
decode applesingle boolean
decode machost boolean
decode stuffit boolean
keep connections alive boolean
download folder alias
use download folder boolean -- If true, Fetch will save downloaded files to the download folder without any further prompting.
default password string
display server messages boolean
use TYPE I boolean
omit dot files boolean
default text font string
default text font size small integer
default text tab width small integer
default binary file type type class
default binary file creator type class
translate ISO boolean
show signon dialog boolean
default upload text format Unknown Format/Text/Wrapped Text/Raw Data/Binhex/MacBinaryI/MacBinaryII/AppleSingle/MacHost
default upload binary format Unknown Format/Text/Wrapped Text/Raw Data/Binhex/MacBinaryI/MacBinaryII/AppleSingle/MacHost
use passive mode boolean
miminum data port integer
maximum data port integer
use SOCKS gateway boolean
SOCKS gateway string
SOCKS gateway port integer
use proxy server boolean
proxy server string
dont proxy domains string -- Fetch will not use the proxy server or SOCKS gateway for connections to machines in these domains.
automatic defaults to text boolean
maximum cache size integer
overwrite files boolean
case sensitive sorting boolean
default bookmark list font string
default bookmark list font size small integer
add txt suffix boolean
add hqx suffix boolean
add bin suffix boolean
encode names boolean
use internet config boolean
allow duplicate connections boolean
Info-Mac mirror string
UMich mirror string
Anarchie emulation boolean
default shortcut string
treat mystery items as files boolean -- If true, Fetch’s Get and Delete commands will assume that items of unknown type are files, not folders.
dont use opentransport boolean -- If true, Fetch will not call Open Transport directly, but will use the MacTCP programming interface instead.
ignore cache boolean -- If true, Fetch will retrieve file lists from the server, ignoring any lists it may have stored in its cache. This ensures that (for example) scripts always see an up-to-the-minute file listing.
transfer buffer size integer -- The size (in bytes) of the buffers used for file transfers. Should be a multiple of 512. Larger buffers offer better performance on fast links, but use more memory.
selection selection-object -- the selection visible to the user. Use the ‘select’ command to set a new selection; use ‘contents of selection’ to get or change information in the document.
aliases
POSIX path string [r/o] -- the POSIX path of the file
documents
modified boolean [r/o] -- Has the document been modified since the last save?
files
POSIX path string [r/o] -- the POSIX path of the file
insertion points
contents anything -- the information currently selected. Use ‘contents of selection’ to get or change information in a document.
windows
Best Type type class [r/o] -- The best descriptor type
Class type class [r/o] -- The class
Default Type type class [r/o] -- The default descriptor type
bounds bounding rectangle -- the boundary rectangle for the window
closeable boolean [r/o] -- Does the window have a close box?
titled boolean [r/o] -- Does the window have a title bar?
index integer -- the number of the window
floating boolean [r/o] -- Does the window float?
modal boolean [r/o] -- Is the window modal?
resizable boolean [r/o] -- Is the window resizable?
zoomable boolean [r/o] -- Is the window zoomable?
zoomed boolean -- Is the window zoomed?
name international text -- the title of the window
visible boolean [r/o] -- is the window visible?
class info type class -- the object class about which information is requested
[in 'intl'] -- the human language and script system in which to return information
Result: type class info -- a record containing the object’s properties and elements
close reference -- the object to close
[saving yes/no/ask] -- specifies whether changes should be saved before closing
[saving in file] -- the file or alias in which to save the object
count reference -- the object whose elements are to be counted
[each type class] -- if specified, restricts counting to objects of this class
Result: integer -- the number of elements
data size reference -- the object whose data size is to be returned
[as type class] -- the data type for which the size is calculated
Result: integer -- the size of the object in bytes
delete reference -- the element to delete
duplicate reference -- the object(s) to duplicate
[to location reference] -- the new location for the object(s)
[with properties record] -- the initial values for properties of the new object that are to be different from the original
Result: reference -- to the duplicated object(s)
event info type class -- the event class of the Apple events for which to return information
[in 'intl'] -- the human language and script system in which to return information
Result: a list of type event info -- a record containing the events and their parameters
exists reference -- the object in question
Result: boolean -- true if it exists, false if not
make
new type class -- the class of the new element
[at location reference] -- the location at which to insert the element
[with data anything] -- the initial data for the element
[with properties record] -- the initial values for the properties of the element
Result: reference -- to the new object(s)
move reference -- the object(s) to move
to location reference -- the new location for the object(s)
Result: reference -- to the object(s) after they have been moved
open reference -- list of objects to open
print reference -- list of objects to print
quit
[saving yes/no/ask] -- specifies whether to save currently open documents
reopen
run
save reference -- the object to save, usually a document or window
[in file] -- the file or alias in which to save the object
[as type class] -- the file type of the document in which to save the data
select reference -- the object to select
suite info type class -- the suite for which to return information
[in 'intl'] -- the human language and script system in which to return information
Result: a list of type suite info -- a record containing the suites and their versions
item type constant
name string
url string -- Uniform Resource Locator of item
hostname string
userid string
password string
path string
size integer -- size in bytes, -1 if unknown
modification date date -- date last modified in seconds since 1/1/1904, or 0 if unknown
bookmark by numeric index, by name
<Inherits> window [r/o] -- Inherits properties from cWindow
view order constant -- window sort order
filespec alias [r/o] -- where this bookmark list is saved
modified boolean [r/o]
<Inherits> window [r/o] -- Inherits properties from cWindow
contents string [r/o] -- the window’s contents
<Inherits> window [r/o] -- Inherits properties from cWindow
text string [r/o] -- the window’s text
item type constant [r/o]
name string [r/o]
url string [r/o] -- Uniform Resource Locator of item
modification date date [r/o] -- date last modified in seconds since 1/1/1904, or 0 if unknown
item type constant [r/o]
name string [r/o]
url string [r/o] -- Uniform Resource Locator of item
size integer [r/o] -- size in bytes, -1 if unknown
modification date date [r/o] -- date last modified in seconds since 1/1/1904, or 0 if unknown
item type constant [r/o]
name string [r/o]
url string [r/o] -- Uniform Resource Locator of item
size integer [r/o] -- size in bytes, -1 if unknown
modification date date [r/o] -- date last modified in seconds since 1/1/1904, or 0 if unknown
bookmark by numeric index, by name
<Inherits> window [r/o] -- Inherits properties from cWindow
view order constant -- window sort order
filespec alias [r/o] -- where this bookmark list is saved
modified boolean [r/o]
<Inherits> window [r/o] -- Inherits properties from cWindow
text string [r/o] -- the window’s text
<Inherits> window [r/o] -- Inherits properties from cWindow
text string [r/o] -- the window’s text
remote item by numeric index, by name
remote file by numeric index, by name
remote directory by numeric index, by name
url by name
<Inherits> window [r/o] -- Inherits properties from cWindow
transfer mode constant
view order constant
hostname string [r/o]
userid string [r/o]
password string [r/o]
initial directory string [r/o]
current directory string
status string [r/o]
current item string [r/o]
approximate item size integer [r/o]
bytes transfered integer [r/o]
elapsed transfer time integer [r/o]
item format constant [r/o]
parent directory string [r/o]
item type constant [r/o]
name string [r/o]
url string [r/o] -- Uniform Resource Locator of item
download reference -- the remote file, remote folder, bookmark, or url to download
put into reference -- transfer window, remote directory, or URL into which to put the file(s)
item alias -- file(s) and/or folder(s) to be uploaded
[text format Unknown Format/Text/Wrapped Text/Raw Data/Binhex/MacBinaryI/MacBinaryII/AppleSingle/MacHost] -- format to use for uploading text files
[binary format Unknown Format/Text/Wrapped Text/Raw Data/Binhex/MacBinaryI/MacBinaryII/AppleSingle/MacHost] -- format to use for uploading non-text files
send to reference -- transfer window, remote directory, or URL to use as context for the command(s)
ftp command string -- the command(s) to send (multiple command should be a list of strings, or a single string with carriage returns to separate caommands)
view reference -- the remote file, url, or bookmark to view
view file list reference -- the remote directory or url to list
fetch alias -- File to fetch to
[host string] -- ftp server
[path string] -- path to file
[user string] -- user name (defaults to “anonymous”)
[password string] -- user password (defaults to your Email address)
[url string] -- fetch URL (supercedes host/user/password/path)
Result: small integer -- Error code
index
host string -- ftp server
path string -- text to search for
user string -- user name (defaults to “anonymous”)
password string -- user password (defaults to your Email address)
url string -- URL to search for (path is text to index)
Result: small integer -- error code
list alias -- file to put the listing into
[host string] -- ftp server (defaults to this mac)
[path string] -- path to directory or files (defaults to root directory)
[user string] -- user name (defaults to “anonymous”)
[password string] -- user password (defaults to your Email address)
[url string] -- list URL (supercedes host/user/password/path)
Result: small integer -- Error code
mkdir
host string -- ftp server
path string -- path to dir to make
user string -- user name (defaults to “anonymous”)
password string -- user password (defaults to your Email address)
url string -- URL of directory to make (supercedes host/user/password/path)
Result: small integer -- Error code
remove
host string -- ftp server
path string -- path to file to delete
user string -- user name (defaults to “anonymous”)
password string -- user password (defaults to your Email address)
url string -- URL of file to delete (supercedes host/user/password/path)
Result: small integer -- Error code
rename
host string -- ftp server
path string -- path to file to rename
user string -- user name (defaults to “anonymous”)
password string -- user password (defaults to your Email address)
url string -- URL of file to rename (supercedes host/user/password/path)
newname string -- new path of file or directory
Result: small integer -- Error Code
sendcommand
host string -- ftp server
command string -- command to send
user string -- user name (defaults to “anonymous”)
password string -- user password (defaults to your Email address)
url string -- URL of host & dir to send command to (supercedes host/user/password)
Result: small integer -- Error Code
store alias -- file to store
[host string] -- ftp server
[path string] -- path to file
[user string] -- user name (defaults to “anonymous”)
[password string] -- user password (defaults to your Email address)
[url string] -- store URL (supercedes host/user/password/path)
Result: small integer -- Error code
geturl string -- an FTP URL
|| url: http://www.foodoo.sunreal.com.au/info/dictionaries/Fetch_303_asDict.html
|| created: 10-May-03, 4:58 PM; updated: 10-May-03, 4:58 PM
|| size: 81642 bytes