home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
dirs
/
convert_451.lzh
/
'Liner
/
Docs
/
ARexx_Commands
< prev
next >
Wrap
Text File
|
1991-02-06
|
3KB
|
112 lines
The following are ARexx/'Liner commands, and their syntax. If applicable,
they return nothing if there wasn't an error, 10 if the command failed.
Note: the commands are in caps for emphesis only. They can be spelled
in lowercase when writing scripts.
OPEN filename - reads an outline off of a disk file named 'filename'
SAVE filename - saves an outline to the file 'filename'
NEW - delete an entire outline
GETFILENAME - returns the filename of the current outline
PRINTPRINTER - print an outline on the printer
PRINTDISK filename - save the outline as an ASCII file named 'filename'
QUIT - quit out of 'Liner
DOUBCLICK outside - fake a mouse button double click; is reported as outside
the line if 'outside' == 'true' (i.e. used for highlighting
a block of lines).
SETTITLEMSG - put a message into 'Liner's title bar
GETSTATS - get stats on current line (level, number, continuation)
GETCHAR - returns the character under the cursor; returns NULL at end of line
GETWORD - returns the word that the cursor is in
GETLINETEXT - returns the text of an entire line
CUT - cut the marked section to the clipboard
COPY - copy the marked section to the clipboard
PASTE - paste the last cut section from the clipboard
ERASE - delete the marked section
CURSORUP - move the cursor up one line
CURSORDOWN - move the cursor down one line
CURSORLEFT - move the cursor left one character
CURSORRIGHT - move the cursor right one character
TOTOP - move the cursor to the top of the document
TOBOTTOM - move the cursor to the end of the document
UPSCREEN - move the cursor up one screen
DOWNSCREEN - move the cursor down one screen
DOUBSPACING true/false - set double spacing to TRUE or FALSE
INTERLACED true/false - choose interlaced screen (true == interlaced)
ICONS true/false - create icons; true or false
SCRNSIZE - not used in 'Liner V2.10 and later; kept for compatability
STARTINGLEVEL n - choose the starting level 'n' 0-5 (I. == 0, A. == 1, etc.)
LOADPREFS - load the preferences from 'liner:prefs'
SAVEPREFS - save the preferences to 'liner:prefs'
SEARCH cs pw sr phrase [replacement] - search for 'phrase' options
are (in order): case sensitive/not case sensitive; 'phrase'
can/can not be a part of a word; search & replace/search only.
Each of the three option spaces should have a t (for true)
f (for false), or u (for unchanged, i.e. from what the user
specified in the requestor). Example:
SEARCH f u t Macintosh Amiga
INSTEXT text - insert 'text' before cursor
GETLINE - returns the entire current line, complete with number. ex:
( B. Amiga's are the obvious choice)
FAKERETURN shift - sends 'Liner a fake RETURN keypress (SHIFT-RETURN if 'shift'
== 'true').
PUSHIN - sends 'Liner a fake TAB
PULLOUT - sends 'Liner a fake SHIFT-TAB
STARTLINE - move the cursor to the start of the line
ENDLINE - move the cursor to the end of the line
FAKEBS - send 'Liner a fake backspace
EXTMODES <mode> <monitor> - set the display mode and standard
<mode> can be: 0 - Hires, non-interlaced
1 - Hires, interlaced
2 - Productivity mode (640x480)
3 - Productivity interlaced (640x960)
4 - A2024 10Hz
5 - A2024 15Hz
<monitor> can be: 0 - Hardware default
1 - NTSC
2 - PAL