home *** CD-ROM | disk | FTP | other *** search
- FrexxTool - An ARexx toolbox
- ============================
-
- By Linus Nielsen 1994
-
- This is a small utility that opens a window with buttons that execute
- ARexx commands when pressed. It reads a setup file with the button names
- and the commands they execute. It can open on any public screen and use
- any ARexx port.
-
-
- How to use it
- -------------
-
- The CLI template is:
-
- FrexxTool PORT/K,SETUP/K,SCREEN/K,COLUMNS/N/K,X/N/K,Y/N/K,HELP/S/K
-
- The parameters:
-
- PORT - The name of the ARexx port to use, default is FREXXED.1,
- because this program is written mainly for FrexxEd usage.
-
- SETUP - The name of the setup file, default is "FrexxTool.setup".
-
- SCREEN - The name of the public screen to open on, default is
- the current default public screen. If PORT is FrexxEd's
- port, it will ask FrexxEd which screen to use, if SCREEN is
- not specified.
-
- COLUMNS - The number of columns to use when placing the gadgets,
- default is 3.
-
- X - The window X position, default is 0.
-
- Y - The window Y position, default is 0.
-
- HELP - Display a helpful(?) text.
-
-
-
- The setup file
- --------------
-
- The setup file, by default called 'FrexxTool.setup' has a very simple
- format: '<label>:<command>' where the command ends at the newline character.
- The label should for cosmetic reasons be short and immediately followed by a
- colon, and then the message that will be sent to FrexxEd when that button
- is pressed. One line should *not* be longer than 256 bytes, and there is no
- use putting in more than 256 lines...
-
- EXAMPLE FILE
- ------------
-
- Just in case the original gets changed, I'll insert an example file in this
- document. This is of course to be used with FrexxEd:
-
- Open:Open("");
- Save:Save();
- Save As...:SaveAs();
- Search...:{ int ret; SearchSet("f+"); if ((ret=SearchSet())>=0) { if (Search()<0) DisplayBeep(); } else ReturnStatus(GetReturnMsg(ret)); }
- Search:Search();
- Srch/Repl:ReplaceSet();
- Mark:BlockMark();
- Copy:BlockCopy();
- Cut:BlockCut();
- Paste:BlockPaste();
- Bsave:BlockSave();
- FPL file:ExecuteFile();
- Globals:PromptInfo(0, "All globals", "(global)", "(read)(hidden)");
- Locals:PromptInfo(-1, joinstr("\"", ReadInfo("file_name"), "\" settings."), 0, 0, "!ds_*");
- Undo:Undo();
- Undo restart:UndoRestart();
- About:About();
-
-
- History
- -------
-
- 0.2 First release to Daniel Stenberg
-
-
-
- Redirect complaints to >NIL:, mail me serious bug reports and suggestions
- of how to improve this.
-
- Linus Nielsen
- Email: erenie@ere.ericsson.se
-