Short: Workbench/CLI transparent ReadArgs() Author: Thomas Aglassinger Uploader: Thomas Aglassinger Type: dev/misc Version: 1.6 Architecture: m68k-amigaos Kurz: Workbench/CLI unabhängige ReadArgs() TITLE SmartReadArgs VERSION 1.6 AUTHOR Thomas Aglassinger Based on ExtReadArgs by Stefan Ruppert DESCRIPTION SmartReadArgs is a Workbench/CLI transparent interface to ReadArgs(). In case of a Workbench start, it analyzes the WBStartup message and possible tooltypes. These are converted to a text string that can be passed to ReadArgs() like before. If the application was stared from CLI, it simply calls ReadArgs() without the conversion step. FEATURES - Accepts multi-selected files from Workbench - Internal handles WINDOW tooltype to open CLI in case there is any output necessary if started from Workbench - Full source code included NEW FEATURES (to ExtReadArgs) - Fixed a couple of minor bugs - Ignores tooltypes not being part of the template given (useful for commodities etc.) - Supports NewIcons also on systems without NewIcons running - Included Makefile for GCC USAGE Read the autodocs to learn how to use it. Take a look at the example "test.c" and play with it. The full source code is included. DISCLAIMER There is no warranty for this software package. Although the author has tried to prevent errors, he can't guarantee that the software package described in this document is 100% reliable. You are therefore using this material at your own risk. The author cannot be made responsible for any damage which is caused by using this software package. DISTRIBUTABILITY Permission is granted to freely distribute the material (also only parts of it) as long this ReadMe is included and all the copyright notes are left unaltered except for a description of your changes. COPYRIGHT SmartReadArgs (C) Copyright 1998 by Thomas Aglassinger ExtReadArgs (C) Copyright 1994,1995 by Stefan Ruppert SEE ALSO dev/misc/extrdargs_v1.5.lha dev/c/nrdargs.lha dev/c/wb2argv.lha