(logo)  AWeb ARexx Commands

Currently a very rudimentary command set is implemented. More commands will be added in the future.

Available commands are:

OPEN URL/A,RELOAD/S
Retrieve and show the document for this URL.
The RELOAD switch will reload the document even it is still in the document cache.

RELOAD
Reload the current document.

ALLOWCMD
Temporarily allow shell commands and ARexx macros to be started from hyperlinks regardless of the Allow shell commands setting. This allows easier usage of ARexx plug-ins without need for the user to explicitly change the settings.

Commands are allowed only in the current document, or in the document that is being loaded. After a new document is loaded in the window, the normal settings apply.

GET ITEM/A,VAR/K
Get information from the document in this window. The ITEM argument determines the information to return:
URL
Retrieve the URL of the document.
SOURCE
Retrieve the HTML source of the document. Note that due to an ARexx limitation only the first 65535 bytes are returned.
TITLE
Retrieve the title of the document. If no title was defined in the document, the document's URL is returned.
SCREEN
Retrieve the name of the screen that AWeb uses to open its windows on.

The information is returned in the reserved variable RESULT, unless the VAR argument is used to specify the variable name.

SAVEAS NAME,APPEND/S
Save the HTML source of the document.

If NAME is given, the source is saved under this name. If the APPEND switch is set, the source is appended to the file, otherwise the file will be overwritten.

If no NAME is given, a save requester will pop up.

ACTIVATEWINDOW
Make this window the active window.

WINDOWTOFRONT
Move this window in front of all other windows on the screen.

WINDOWTOBACK
Move this window to the back of all other windows on the screen.

CLOSE FORCE/S
Close this window.
The FORCE switch suppresses the "Are you sure" requester if this was the last window.

QUIT FORCE/S
Quit AWeb.
The FORCE switch suppresses the "Are you sure" requester.

<-Ports   ^ARexx   ->Return codes