The FooDoo Lounge

Fetch 3.0.3 Dictionary

Copyright © 1997 Trustees of Dartmouth College. All rights reserved.

Index

  1. Core Suite
  2. Fetch Suite
  3. Anarchie Suite
  4. URL Suite

Core Suite: Suite that applies to all applications

Classes:

Class Application: A Macintosh application

Plural form:

applications

Elements:

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

Properties:

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.

Class alias: a file on a disk or server. The file must exist when you check the syntax of your script.

Plural form:

aliases

Properties:

POSIX path string [r/o] -- the POSIX path of the file

Class document: A document of a scriptable application

Plural form:

documents

Properties:

modified boolean [r/o] -- Has the document been modified since the last save?

Class file: a file on a disk or server

Plural form:

files

Properties:

POSIX path string [r/o] -- the POSIX path of the file

Class insertion point: An insertion location between two objects

Plural form:

insertion points

Class selection-object: A way to refer to the state of the current of the selection. Use the ‘select’ command to make a new selection.

Properties:

contents anything -- the information currently selected. Use ‘contents of selection’ to get or change information in a document.

Class window: A window

Plural form:

windows

Properties:

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: (optional) Get information about an object class

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

Events:

close: Close an object

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: Return the number of elements of an 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: (optional) Return the size in bytes of an object

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: Delete an object from its container. Note this does not work on script variables, only on elements of application classes.

delete reference -- the element to delete

duplicate: Duplicate one or more objects

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: (optional) Get information about the Apple events in a suite

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: Verify if an object exists

exists reference -- the object in question

Result: boolean -- true if it exists, false if not

make: Make a new element

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: Move object(s) to a new location

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: Open the specified object(s)

open reference -- list of objects to open

print: Print the specified object(s)

print reference -- list of objects to print

quit: Quit an application

quit

[saving yes/no/ask] -- specifies whether to save currently open documents

reopen: Reactivate a running application. Some applications will open a new untitled window if no window is open.

reopen

run: Run an application. Most applications will open an empty, untitled window.

run

save: Save an object

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: Make a selection

select reference -- the object to select

suite info: (optional) Get information about event suite(s)

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

Fetch Suite: Suite of classes/enumerations that are unique to Fetch

Classes:

Class bookmark: a bookmark to a remote file or directory

Properties:

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

Class bookmark list window: a bookmark list window

Elements:

bookmark by numeric index, by name

Properties:

<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]

Class editing window: an editing window

Properties:

<Inherits> window [r/o] -- Inherits properties from cWindow

contents string [r/o] -- the window’s contents

Class help window: the help window

Properties:

<Inherits> window [r/o] -- Inherits properties from cWindow

text string [r/o] -- the window’s text

Class remote directory: a remote directory

Properties:

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

Class remote file: a remote file

Properties:

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

Class remote item: a remote file or directory

Properties:

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

Class shortcut window: the Fetch Shortcuts window

Elements:

bookmark by numeric index, by name

Properties:

<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]

Class text window: a text viewing window

Properties:

<Inherits> window [r/o] -- Inherits properties from cWindow

text string [r/o] -- the window’s text

Class transcript window: the Fetch Transcript window

Properties:

<Inherits> window [r/o] -- Inherits properties from cWindow

text string [r/o] -- the window’s text

Class transfer window: a file transfer window

Elements:

remote item by numeric index, by name

remote file by numeric index, by name

remote directory by numeric index, by name

url by name

Properties:

<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]

Class url: a remote file or directory referenced by URL

Properties:

item type constant [r/o]

name string [r/o]

url string [r/o] -- Uniform Resource Locator of item

Events:

download: get a remote file or directory

download reference -- the remote file, remote folder, bookmark, or url to download

put into: put files and/or folders into a remote directory

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: send custom FTP protocol commands

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: open a remote text file for viewing

view reference -- the remote file, url, or bookmark to view

view file list: list the contents of a remote directory in a text window

view file list reference -- the remote directory or url to list

Anarchie Suite: Anarchie's suite

Events:

fetch: fetch a file via ftp

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: Display an index listing

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: list files in a directory

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: Make directory

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: delete a file or directory

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: rename file or directory

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: Send a raw FTP command

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: store a file to an ftp site

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

URL Suite: Standard Suite for Uniform Resource Locators

Events:

geturl: Get a URL and display it in a window

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