Go to the first, previous, next, last section, table of contents.


FSE ARexx

The editor supports these commands from ARexx:

 XPOS           - returns cursor X-value.
 YPOS           - returns cursor Y-value.
 MAXMSGLENGTH   - returns maximum number of lines.
 MSGLENGTH      - returns number of lines in this message.
 LINELENGTH     - returns number of max-coloumns.
 MSGFILENAME    - returns the full filename of the file in the FSE.
 GETLINE [n]    - returns the contents of line number <n>, or the current
                  one if none specified..
                  returns RC=WARN if there are no lines in the message, or
                  the line requested is out of range.
 QUIT           - Quit the editor without any requester.
 REFRESH        - Make sure the window is redrawn.
 SETPOS [X] [Y] - Move cursor to a specific position.
                  Note that 0 is a valid argument that does not affect the
                  cursor.   You may also leave out any arguments.

                   Examples:
                      SETPOS 10,10 - moves cursor to [10,10]
                      SETPOS 10    - moves cursor to position 10 on this 
                                     line
                      SETPOS 0 10  - moves cursor to line 10 with unchanged
                                     X-value.
                      SETPOS Y 10  - Moves cursor to line 10 with unchanged
                                     X-value.

                  A WARN is returned if any of the coordinates are out of 
                  range.
 INSERTSTRING STRING/F
                - Insert the string supplied synchronously.  Will not be
                  noticed by i.e. macro-learning.
 INSERTINPUT STRING/F
                - Asynchronous input-routine.  The string will be inserted
                  as if it were typed at the keyboard and may include 
                  control-codes like CTRL-B, CTRL-QY etc.
 PASTECLIP      - Paste clipboard contents at current cursor position.
 INSERTTAG      - Ask THOR for a tag and include it at current cursor-pos.
 SAVEFILE [NAME]
                - Save file.  If no name specified, requests one from user.
                  RC=WARN for error.
 INCLUDEFILE [NAME]
                - Include file.  If no name specified, requests one from 
                  user.
 OVERWRITE ON/OFF
                - Changes the Overwrite/Insert status and returns current 
                  status  Valid specifiers are ON=Y=YES and OFF=N=NO.
                  Returns ON or OFF depending on the current status.
 AUTOINDENT ON/OFF
                - Changes the AutoIndent status and returns current 
                  status  Valid specifiers are ON=Y=YES and OFF=N=NO.
                  Returns ON or OFF depending on the current status.
 PLAYMACRO NUMBER
                - Play macro number 1-20.  Asynchronous.
 DELETELINES [n]
                - Basically a CTRL-Y in a loop.
 INSERTLINES [n]
                - Insert one or more empty lines at the current cursor 
                  position (same as CTRL-O).
 INSERTBUFFERLINES [n]
                - Insert lines from the buffer.  A CTRL-B in a loop.
 SENDER         - Returns the sender of the message in the FSE.
                  (not yourself, but the one that wrote the message you're
                   replying to - if any.)
 RECIPIENT      - Returns the receiver of the message you're writing.
                  (In a normal reply-situation, SENDER=RECIPIENT if it's
                   not forwarded.)
 SENDERADDR     - Returns the senders address of the message in the FSE.
                  (not yourself, but the one that wrote the message you're
                   replying to - if any.)
 RECIPIENTADDR  - Returns the receivers address of the message you're writing.
                  (In a normal reply-situation, SENDERADDR=RECIPIENTADDR if it's
                   not forwarded.)
 CONFERENCE     - On replies, returns the original conference of the message
                  in the FSE.
 SENDERDATE     - The date and/or time at which the message was written.
 ISFIRSTCALL    - Returns:
                  "ON"  : This is the first time the editor is called on
                          this message (i.e. you may want to quote it.)
                  "OFF" : Edit message etc.
 NEWLINE        - The same as a <return> press.
 BACKSPACE [n]  - The same as a backspace-press.
 BEGOFFILE      - Moves cursor to beginning of file (1,1)
 ENDOFFILE      - Moves cursor to the position behind the last char in 
                  the text.
 BEGOFLINE      - Moves cursor to the first char on the current line.
                  (Note that this does not include whitespace).
 ENDOFLINE      - Moves cursor to the position behind the last char on the
                  current line.
 CURRENTCHAR    - Returns the character under the cursor.  Remember to 
                  check for "".
 HIDE           - Hides the editor.  The next ARexx-command sent will wake
                  it up again.
 REVEAL         - A simple nop-command to wake the editor from hybernation.
 NOP            - Do nothing.
 REQUESTNOTIFY "TEXT/A,BUTTONTEXT=BT/A"
                - Asks THOR to show a requester,  See the ARexx-docs for THOR 
                  for further details.
 REQUESTSTRING "TITLETEXT=TITLE/A,BUTTONTEXT=BT/A,INITIALSTRING=ID,MAXCHARS/N/A"
                - Asks THOR to show a string-requester,  See the ARexx-docs for 
                  THOR for further details.
 GETFSEVERSION  - Returns the version of the editor.
 GETFSEREVISION - Returns the revision of the editor.
 FSESCREENNAME  - Returns the name of the screen this FSE resides on.


Go to the first, previous, next, last section, table of contents.