The FooDoo Lounge

Opera 6.0 Dictionary

Copyright © 1995-2002 Opera Software ASA. All rights reserved.

Index

  1. Standard Suite
  2. Web Browser Suite
  3. Microsoft Internet Explorer Suite
  4. URL Suite

Standard Suite: Common terms for most applications

Classes:

Class application: An application program

Elements:

window by numeric index, by name, before/after another element

document by name

Class document: A Document

Properties:

name international text [r/o] -- the title of the document

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

Class window: A Window

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

Events:

close: Close an object

close reference -- the objects to close

[saving yes/no/ask] -- specifies whether or not changes should be saved before closing

[in alias] -- the file in which to save the object

data size: Return the size in bytes of an object

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

Result: integer -- the size of the object in bytes

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 -- Object specifier for the new element

open: Open the specified object(s)

open reference -- Objects to open. Can be a list of files or an object specifier.

print: Print the specified object(s)

print reference -- Objects to print. Can be a list of files or an object specifier.

save: save a set of objects

save reference -- Objects to save.

[in alias] -- the file in which to save the object(s)

[as type class] -- the file type of the document in which to save the data

set: Set an object’s data

set reference -- the object to change

to anything -- the new value

Web Browser Suite: Class of events which are sent to Web Browser applications

Events:

Activate: Tells the Web browser to bring itself to the front and show WindowID. (Can use -1 for top window)

Activate integer -- WindowID

[Flags integer] -- Reserved for future use

Result: integer -- WindowID of the front window

CloseAllWindows: Tells the Web browser to close all windows

CloseAllWindows

Result: boolean -- Success

CloseWindow: Tells the Web browser to close the window specified either by Window ID or Title. If no parameters are specified, the top window will be closed.

CloseWindow

[ID integer] -- ID of the window to close. (Can use -1 for top window)

[Title string] -- Title of the window to close.

Result: boolean -- Success

GetWindowInfo: Returns a window info record (URL/Title) for the specified window.

GetWindowInfo integer -- WindowID of the window to get info about

Result: a list of list --

ListWindows: Return a list of WindowIDs representing each windows currently being used by the Web browser.

ListWindows

Result: a list of list

OpenURL: Retrieves URL off the Web.

OpenURL string -- Fully specified URL

[to file specification] -- File to save downloaded data into.

[toWindow integer] -- Window to open this URL into. (Use -1 for top window, 0 for new window)

[Flags integer] -- Valid Flags settings are: 1-Ignore the document cache; 2-Ignore the image cache; 4-Operate in background mode.

[FormData anything] -- Posting of forms of a given MIMEType.

[MIMEType string] -- MIME type for the FormData.

[ProgressApp 'psn '] -- If specified, ProgressApp can be named to handle the user interface for process messages.

[ResultApp 'psn '] -- When the requested URL has been accessed and all associated documents loaded, the Web browser will issue an OpenURLResult to the ResultApp.

Result: integer -- TransactionID

RegisterURLEcho: Notifies that the sending application would like to receive EchoURL events.

RegisterURLEcho 'sign' -- application

Result: boolean -- Success

ShowFile: Passes FileSpec containing data of a given MIME type to be rendered in a given WindowID.

ShowFile alias -- The file to show.

[MIME type string] -- MIME type

[Window ID integer] -- ID of the window to open the file into. (Can use -1 for top window)

[URL string] -- A URL which allows this document to be reloaded if necessary.

[ResultApp 'psn '] -- When the requested URL has been accessed and all associated documents loaded, the Web browser will issue a ShowFileResult to the ResultApp.

Result: integer -- TransactionID

UnRegisterURLEcho: Notifies that the sending application would no longer like to receive EchoURL events.

UnRegisterURLEcho 'sign' -- application

Microsoft Internet Explorer Suite: Events defined by Internet Explorer

Events:

GetSource: Get the HTML source of a browser window

GetSource integer -- Window Identifier of window from which to get the source. No value means get the source from the frontmost window.

Result: string

URL Suite: Standard suite for Uniform Resource Locators

Events:

GetURL: Open the URL (and optionally save it to disk)

GetURL string -- URL to open

[to 'fss] -- File into which to save resource located at URL.

 

|| url: http://www.foodoo.sunreal.com.au/info/dictionaries/Opera_60_asDict.html
|| created: 11-Aug-03, 2:55 PM; updated: 11-Aug-03, 2:55 PM
|| size: 30231 bytes