The get command

You use the get command to get information about the running mosaic.

Template: item/a,stem

You use item to select the information to fetch. If the information you requested doesn't exist, the return code is 5.

stem is ignored and the information is returned in the result string if item is one of:

anchor
Returns the URL of the home document as a string.
postscript
Returns the PostScript code for the current document, formatted for the current window. This is the string that will be saved if you save the document as PostScript
screen
Returns the screen information as a string of the form left/top. Not implemented yet.
selection
Returns the currently selected text as a string. If an anchor is selected, it returns the text of the anchor, and sets the return code to 1. Not implemented yet.
text
Returns the ASCII text for the current document, formatted for the current window. This is the string that will be saved if you save the document as Plain Text
url
Returns the URL of the document currently displayed in the window.
window
Returns the window information as a string of the form left/top/width/height.
stem is the name of a stemmed variable to hold the structured information returned if item is one of:
history
This places a the window history as a list of links in the named stem.
hotlist
This places the hotlist as a list of links in the named stem. Not implemented yet.

Up to the commands, on to jump or back to fetch.
Mike W. Meyer