home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 2 / fishmore-publicdomainlibraryvol.ii1991xetec.iso / dirs / snoopdos_451.lzh / 'Liner / Docs / ARexx_Commands < prev    next >
Text File  |  1991-02-06  |  3KB  |  112 lines

  1. The following are ARexx/'Liner commands, and their syntax.  If applicable,
  2. they return nothing if there wasn't an error, 10 if the command failed.
  3. Note:  the commands are in caps for emphesis only.  They can be spelled
  4. in lowercase when writing scripts.
  5.  
  6. OPEN filename - reads an outline off of a disk file named 'filename'
  7.  
  8. SAVE filename - saves an outline to the file 'filename'
  9.  
  10. NEW - delete an entire outline
  11.  
  12. GETFILENAME - returns the filename of the current outline
  13.  
  14. PRINTPRINTER - print an outline on the printer
  15.  
  16. PRINTDISK filename - save the outline as an ASCII file named 'filename'
  17.  
  18. QUIT - quit out of 'Liner
  19.  
  20. DOUBCLICK outside - fake a mouse button double click;  is reported as outside
  21.             the line if 'outside' == 'true' (i.e. used for highlighting
  22.             a block of lines).
  23.  
  24. SETTITLEMSG - put a message into 'Liner's title bar
  25.  
  26. GETSTATS - get stats on current line (level, number, continuation)
  27.  
  28. GETCHAR - returns the character under the cursor;  returns NULL at end of line
  29.  
  30. GETWORD - returns the word that the cursor is in
  31.  
  32. GETLINETEXT - returns the text of an entire line
  33.  
  34. CUT - cut the marked section to the clipboard
  35.  
  36. COPY - copy the marked section to the clipboard
  37.  
  38. PASTE - paste the last cut section from the clipboard
  39.  
  40. ERASE - delete the marked section
  41.  
  42. CURSORUP - move the cursor up one line
  43.  
  44. CURSORDOWN - move the cursor down one line
  45.  
  46. CURSORLEFT - move the cursor left one character
  47.  
  48. CURSORRIGHT - move the cursor right one character
  49.  
  50. TOTOP - move the cursor to the top of the document
  51.  
  52. TOBOTTOM - move the cursor to the end of the document
  53.  
  54. UPSCREEN - move the cursor up one screen
  55.  
  56. DOWNSCREEN - move the cursor down one screen
  57.  
  58. DOUBSPACING true/false - set double spacing to TRUE or FALSE
  59.  
  60. INTERLACED true/false - choose interlaced screen (true == interlaced)
  61.  
  62. ICONS true/false - create icons; true or false
  63.  
  64. SCRNSIZE - not used in 'Liner V2.10 and later;  kept for compatability
  65.  
  66. STARTINGLEVEL n - choose the starting level 'n' 0-5 (I. == 0, A. == 1, etc.)
  67.  
  68. LOADPREFS - load the preferences from 'liner:prefs'
  69.  
  70. SAVEPREFS - save the preferences to 'liner:prefs'
  71.  
  72. SEARCH cs pw sr phrase [replacement] - search for 'phrase'  options
  73.         are (in order):  case sensitive/not case sensitive;  'phrase'
  74.         can/can not be a part of a word; search & replace/search only.
  75.         Each of the three option spaces should have a t (for true)
  76.         f (for false), or u (for unchanged, i.e. from what the user
  77.         specified in the requestor).  Example:
  78.  
  79.           SEARCH f u t Macintosh Amiga
  80.  
  81.  
  82. INSTEXT text - insert 'text' before cursor
  83.  
  84. GETLINE - returns the entire current line, complete with number.  ex:
  85.         (    B.  Amiga's are the obvious choice)
  86.  
  87. FAKERETURN shift - sends 'Liner a fake RETURN keypress (SHIFT-RETURN if 'shift'
  88.            == 'true').
  89.  
  90. PUSHIN - sends 'Liner a fake TAB
  91.  
  92. PULLOUT - sends 'Liner a fake SHIFT-TAB
  93.  
  94. STARTLINE - move the cursor to the start of the line
  95.  
  96. ENDLINE - move the cursor to the end of the line
  97.  
  98. FAKEBS - send 'Liner a fake backspace
  99.  
  100. EXTMODES <mode> <monitor> - set the display mode and standard
  101.      <mode> can be:  0 - Hires, non-interlaced
  102.              1 - Hires, interlaced
  103.              2 - Productivity mode (640x480)
  104.              3 - Productivity interlaced (640x960)
  105.              4 - A2024 10Hz
  106.              5 - A2024 15Hz
  107.  
  108.      <monitor> can be:  0 - Hardware default
  109.                 1 - NTSC
  110.                 2 - PAL
  111.  
  112.