home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 7
/
FreshFishVol7.bin
/
new
/
disk
/
moni
/
filex
/
docs
/
english
/
filexarexx.doc
< prev
next >
Wrap
Text File
|
1994-06-12
|
37KB
|
1,924 lines
$VER: FileXARexxDocumentation 2.0 (29.5.94)
FileX - A binary editor
© Copyright 1993-1994 by Klaas Hermanns
Shareware, all rights reserved.
Introduction
************
FileX has an arexx port which is based on the Commodore Amiga User
Interface Style Guide.
If there is nothing different specified for the PORTNAME at the
beginning, the port will be named `FILEX'. In case that this port name
does already exist, a number is being added to the name and increased
until a not already used name is found. (`NAME'->`NAME.1'->`NAME.2')
The arguments will be evaluated in the way AmigaDOS does. If the
different argument types are unknown, the following list can be used as
a reference.
<arg>
A simple string. It's not necessary to specify the argument's name.
<arg>/S
Switch. Will be set through declaring an argument.
<arg>/K
Key word. This argument must be given with an argument's name.
(`<arg> = value' oder `<arg> value'.
<arg>/N
Number. This argument must be a decimal number.
<arg>/T
Changing switch. Through specification of this argument a value
will change its condition.
<arg>/A
This argument must be given.
<arg>/F
The rest of the line will be understood as an argument, although if
there are some more keywords
<arg>/M
Serveral values are possible.
For all commands that return something it's possible to set a
variable to the return value by specifing the name of it with the
argument VAR. The same applies to the argument STEM and its
stemvariables.
All commands with an ID argument return rc = 5, if the ID is
invalid. If there is no ID given the current file/view/window is used
for the command.
Command overview
****************
Name: Arguments => Return codes:
--------------------------------------------
ACTIVATE
ACTIVATEVIEW VIEWID=VID/K/N
ACTIVATEWINDOW WINDOWID=WID/K/N
ADJUSTWINDOWSIZE WINDOWID=WID/K/N
APPEND VIEWID=VID/K/N
ASSIGNCOMMAND NUMBER/K/N,NAME/K
CHANGEWINDOW LEFTEDGE/K/N,TOPEDGE/K/N,HEIGHT/K/N,WIDTH/K/N,WINDOWID=WID/K/N
CLEAR FORCE/S,VIEWID=VID/K/N
CLOSE VIEW/S,WINDOW/S,FORCE/S,VIEWID=VID=WINDOWID=WID/K/N
COLUMN DELTA/N/A,VIEWID=VID/K/N
CURSOR UP/S,DOWN/S,LEFT/S,RIGHT/S,VIEWID=VID/K/N
CUT VIEWID=VID/K/N
DEACTIVATE
EXECUTECOMMAND NUMBER/K/N,NAME/K
EXPANDVIEW VIEWID=VID/K/N
FAULT VAR/K,STEM/K,NUMBER/N/A => DESCRIPTION
FILL VIEWID=VID/K/N
FIND PROMPT/S,HEX/S,BACKWARDS/S,QUIET/S,TEXT/F,VIEWID=VID/K/N
FINDCHANGE PROMPT/S,HEX/S,ALL/S,BACKWARDS/S,QUIET/S,FIND,CHANGE,VIEWID=VID/K/N
FINDNEXT BACKWARDS/S,QUIET/S,VIEWID=VID/K/N
FONT NAME/A,SIZE/N/A,WINDOWID=WID/K/N
GETATTR OBJECT/A,FIELD,ID/K/N,STEM/K,VAR/K
GETBLOCK VAR/K,STEM/K => BLOCK
GETBYTES VAR/K,STEM/K,POS/N/A,NUMBER/N/A,FILEID=FID/K/N => HEXSTRING
GOTOBOOKMARK NUMBER/N,VIEWID=VID/K/N
GOTOBYTE POS/N/A,VIEWID=VID/K/N
GOTOCOLUMN COLUMN/N/A,VIEWID=VID/K/N
GOTOLINE LINE/N/A,VIEWID=VID/K/N
GRABMEMORY START/N/A,END/N/A,FORCE/S,VIEWID=VID/K/N
GROWVIEW VIEWID=VID/K/N
HELP VAR/K,STEM/K,COMMAND => COMMANDDESC,COMMANDLIST/M
INSERT VIEWID=VID/K/N
LINE DELTA/N/A,VIEWID=VID/K/N
LOADBLOCK NAME
LOADCOMMANDS NAME
LOADDISPLAYTYP NAME
LOADSETTINGS NAME
LOCKGUI
MOVEWINDOW LEFTEDGE/N,TOPEDGE/N,WINDOWID=WID/K/N
NEW VIEW/S,WINDOW/S
NEXT VIEW/S,WINDOW/S
NOP
OPEN FILENAME,FORCE/S,VIEWID=VID/K/N
PASTE VIEWID=VID/K/N
POSITION SOF/S,EOF/S,SOL/S,EOL/S,VIEWID=VID/K/N
PREVIOUS VIEW/S,WINDOW/S
PRINT FILEID=FID/K/N
PRINTBLOCK
QUIT FORCE/S
REDO NUMBER/N,FILEID=FID/K/N
REQUESTFILE VAR/K,STEM/K,TITLE/K,PATH/K,FILE/K,PATTERN/K => FILENAME
REQUESTNOTIFY PROMPT
REQUESTRESPONSE BUTTONS/K,PROMPT/K
REQUESTSTRING VAR/K,STEM/K,PROMPT/K,DEFAULT/K => STRING
RX VAR/K,STEM/K,CONSOLE/S,ASYNC/S,COMMAND/F => RC/N,RESULT
SAVE FILEID=FID/K/N
SAVEAS NAME,FILEID=FID/K/N
SAVEBLOCK NAME
SAVECOMMANDS
SAVECOMMANDSAS NAME
SAVESETTINGS
SAVESETTINGSAS NAME
SETATTR OBJECT/A,FIELD,ID/K/N,FROMSTEM/K,FROMVAR/K
SETBLOCK BLOCK/A
SETBLOCKMARK VIEWID=VID/K/N
SETBOOKMARK NUMBER/N,VIEWID=VID/K/N
SETBYTES POS/N/A,HEXSTRING/A,FILEID=FID/K/N
SETSCREEN NAME/K,OWN/S
SHRINKVIEW VIEWID=VID/K/N
SIZEWINDOW HEIGHT/N,WIDTH/N,WINDOWID=WID/K/N
SPLIT VIEW/S,WINDOW/S
UNDO NUMBER/N,FILEID=FID/K/N
UNLOCKGUI
WINDOWTOBACK WINDOWID=WID/K/N
WINDOWTOFRONT WINDOWID=WID/K/N
ZIPWINDOW WINDOWID=WID/K/N
Befehlsbeschreibungen
*********************
ACTIVATE
========
Synopsis:
ACTIVATE
Function:
Reactivates FileX from iconify.
Example:
DEACTIVATE /* Equivalent to menu: `Project/Iconify' */
/* Now an icon will appear on the workbench. FileX `sleeps'. */
ACTIVATE /* Open FileX with all windows again */
See also:
DEACTIVATE
ACTIVATEVIEW
============
Synopsis:
ACTIVATEVIEW VIEWID=VID/K/N
Function:
Activates an view.
Arguments:
VIEWID=VID/K/N:
ID of a view that should be activated.
ACTIVATEWINDOW
==============
Synopsis:
ACTIVATEWINDOW WINDOWID=WID/K/N
Function:
Activates an edit window.
Arguments:
WINDOWID=WID/K/N:
ID of a edit window that should be activated.
ADJUSTWINDOWSIZE
================
Synopsis:
ADJUSTWINDOWSIZE WINDOWID=WID/K/N
Function:
Adjusts the window to the size of edit views.
Arguments:
WINDOWID=WID/K/N:
ID of a window.
See also:
Menu: `Settings/Adjust window size'
APPEND
======
Synopsis:
APPEND VIEWID=VID/K/N
Function:
Appends the current block to the end of a file.
Arguments:
VIEWID=VID/K/N:
ID of a view that belongs to the file.
See also:
Menu: `Edit/Append'
ASSIGNCOMMAND
=============
Synopsis:
ASSIGNCOMMAND NUMBER/K/N,NAME/K
Function:
Set one of the commands in the arexx menu.
Arguments:
NUMBER/K/N:
Number between 0 and 10 which defines the command's position.
A requester will appear if no number has been specified.
NAME/K:
Command's file name. If no name is given a file requester
will appear.
Example:
ASSIGNCOMMAND 0 'dh5:myarexxcommands/filexcommand'
See also:
Menu: `ARexx/Assign command', LOADCOMMANDS, SAVECOMMANDS,
SAVECOMMANDSAS
CHANGEWINDOW
============
Synopsis:
CHANGEWINDOW
LEFTEDGE/K/N,TOPEDGE/K/N,HEIGHT/K/N,WIDTH/K/N,WINDOWID=WID/K/N
Function:
Changes the position and/or size of a edit window.
Arguments:
LEFTEDGE/K/N:
New left offset.
TOPEDGE/K/N:
New top offset.
HEIGHT/K/N:
New height.
WIDTH/K/N:
Neq width.
WINDOWID=WID/K/N
ID of a edit window that should be changed.
If one of these arguments is not given, it is not changed.
Example:
/* Window to maximum size */
CHANGEWINDOW LEFTEDGE 0 TOPEDGE 0 HEIGHT 4000 WIDTH 4000
See also:
ZIPWINDOW, MOVEWINDOW, SIZEWINDOW, Attributes: `WINDOW/#?'
CLEAR
=====
Synopsis:
CLEAR FORCE/S,VIEWID=VID/K/N
Function:
Clears a view.
Arguments:
FORCE/S:
The changes requester will be suppressed.
VIEWID=VID/K/N
ID of a view that sould be cleared.
Return codes:
rc = 5, if the requester is cancelled.
See also:
Menu: `Project/New'
CLOSE
=====