ToolKit allows the user to determine which commands to put in the lower listview. When the program is started, a config file is processed that should contain these commands. When no USERCMD parameter/ToolType is supplied, ToolKit looks for the file sys:Prefs/Presets/ToolKit.config. If that exists, it is processed. If it does not, ToolKit will use the internal defaults. Which are the ones unregistered users get.
The config file needs to adhere to the following syntax rules:
Here is an example of a ToolKit config file...
ToolKit supports the following ToolTypes/CLI parameters
TITLE=StarTrek URL COMMAND=<LI><A HREF=\"pics/StarTrek/as-.jpg\"> .</A> TITLE=Amiga FTP URL COMMAND=<LI> <A HREF=\"ftp://iaehv.nl/pub/users/paul/amiga/\"> .</A> TITLE=OS/2 FTP URL COMMAND=<LI> <A HREF=\"ftp://iaehv.nl/pub/users/paul/os2/\"> .</A> TITLE=UList Frame COMMAND=<UL> <LI></UL>
'PUBSCREEN=' Enables you to specify a public screen ToolKit is to open it's window on. Default value for this parameter is the Workbench screen. Usage: PUBSCREEN=Edit_screen. 'RXSCRIPT=' Use a different path/filename than the default 'S:HTML.rexx' script used. This allows you to easily adapt the program to another editor. Usage: RXSCRIPT=t:some_script.rexx. 'RXPATH=' Specify the path for the RX command. As some users have moved the command from the SYS:Rexxc path. Make sure tha path specified ends in a '/' or ':'. Eg. RXPATH=SYS:rexxstuff/. 'FONTNAME=' Specify the (fixed width) font to use. Usage: FONTNAME=Topaz.font 'FONTSIZE=' Specify the size of the font to use. Usage: FONTSIZE=11 'TOPEDGE=' Y position for the window to open on. Usage: TOPEDGE=10 'LEFTEDGE=' X position for the window to open on. Usage: LEFTEDGE=50 'ZOOMTOP=' X position of iconified window. Usage: ZOOMTOP=30 'ZOOMLEFT=' Y position of iconified window. Usage: ZOOMLEFT=20 'REXXTOP=' X position of the TagEdit window. Usage: REXXTOP=30 'REXXLEFT=' Y position of the TagEdit window. Usage: REXXLEFT=20 'WIDTH=' The width of the ToolKit window. The listview gadgets will adapt their width to fill the window. Usage: WIDTH=150 'HEIGHT=' The Height of the ToolKit window. The User Command listview will adapt it's height to fill the window. Usage: HEIGHT=250 'HTML=' LOWER/UPPER specifies if HTML output should be in lower or in upper case. (Default=UPPER) 'MENU=' COMBINE|SPLIT specifies if the program is to open one menu with the HTML commands accesible through submenu's. Or that every HTML category gets it's own menu. (SPLIT) (Default=COMBINE)
Back to the index.