The FooDoo Lounge

Netscape 7.0.1 Dictionary

Copyright © 2000-2002 Netscape Communications Corp. All rights reserved.

Index

  1. Required suite
  2. Core Suite
  3. URL suite
  4. Mozilla Suite
  5. WorldWideWeb suite, as defined in Spyglass spec.

Required suite: Every application supports open, print, run, and quit

Events:

open: Open the specified object(s)

open a list of alias -- list of objects to open

print: Print the specified object(s)

print a list of alias -- list of objects to print

quit: Quit Navigator

quit

run: Sent to an application when it is double-clicked

run

Core Suite: Common terms for most applications

Classes:

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 application: An application program

Plural form:

applications

Elements:

window by numeric index, by name, by ID

Properties:

alert application type class -- Most of the alerts will be sent to this application using yet unspecified AE interface. We need a few alert boxes: alert, confirm and notify. Any ideas on how to design this event? mailto:atotic@netscape.com. I’d like to conform to the standard.

kiosk mode integer -- Kiosk mode leaves very few menus enabled

name international text [r/o] -- the name of the application

frontmost boolean [r/o] -- Is this the frontmost application?

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.

clipboard a list of anything -- the contents of the clipboard for this application

version version [r/o] -- the version of the application

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:

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?

position point [r/o] -- upper left coordinates of window

URL string [r/o] -- Current URL

unique ID integer [r/o] -- Window’s unique ID (a bridge between WWW! suite window id’s and standard AE windows)

busy integer [r/o] -- Is window loading something right now. 2, window is busy and will reject load requests. 1, window is busy, but will interrupt outstanding loads

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 objects to close

[saving] -- 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: 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

get: Get the data for an object

get reference -- the object whose data is to be returned

Result: anything -- The data from the object

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

set: Set an object’s data

set reference -- the object to change

to anything -- the new value

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

URL suite: Mac URL standard, supported by many apps

Events:

GetURL: Loads the URL (optionally to disk)

GetURL string -- The url

[to file specification] -- file the URL should be loaded into

[inside reference] -- Window the URL should be loaded to

[from string] -- Referrer, to be sent with the HTTP request

Mozilla Suite:

Events:

Do JavaScript: Execute some javascript text

Do JavaScript string -- The javascript string to be executed

WorldWideWeb suite, as defined in Spyglass spec.:

Events:

OpenURL: Opens a URL. Allows for more options than GetURL event

OpenURL string -- URL

[to 'FSS '] -- file destination

[toWindow integer] -- window ID

[flags integer] -- Binary: any combination of 1, 2 and 4 is allowed: 1 and 2 mean force reload the document. 4 is ignored

[post data string] -- Form posting data

[post type string] -- MIME type of the posting data. Defaults to application/x-www-form-urlencoded

[progressApp 'psn '] -- Application that will display progress

Result: integer -- ID of the loading window

register URL echo: Register a URL echo handler. The handler will get called whenever a new URL is loaded

register URL echo

unregister URL echo: cancels URL echo

unregister URL echo 'sign' -- application signature

 

|| url: http://www.foodoo.sunreal.com.au/info/dictionaries/Netscape_701_asDict.html
|| created: 11-Aug-03, 4:46 PM; updated: 11-Aug-03, 4:46 PM
|| size: 42743 bytes