CLIExchange 1.2 by Gael Marziou released on 20 Jan. 94 INTRODUCTION CLIExchange is a CLI replacement for standard CBM utility called Exchange. The only difference is that Exchange has a graphical user interface while CLIExchange has been designed to be called from scripts, ToolManager menus or docks, hotkeys, BrowserII and whatever you want. Due to this, CLIExchange code is ten times smaller than Exchange one. Of Course, CLIExchange cannot be run under 1.3 or less, you need at least 2.04 system release. DISTRIBUTION CLIExchange is Public Domain. I just want the C source to be included with it. USAGE CLIExchange command is an optionnal argument, it defines what command will be sent to commodities by CLIExchange. command can take one of the following values : KILL : to kill commodities ENABLE : to enable commodities DISABLE : to disable commodities APPEAR : to ask commodities to show their interfaces. DISAPPEAR : to ask commodities to hide their interfaces. UNIQUE : to make be commodities believe that someone has launched another exemplar of themselves. Most of commodities will react by showing their interface if any. Not all commodities do support all of these commands. In case a command is not supported absolutely nothing wil happen. The second argument is a list of Commodities names. Be aware that Commodities names are case sensitive ! Names with spaces must be quoted. The list of commodities is not mandatory, if no commodities names are specified, CLIExchange will send the command to ALL commodities currently running. Arguments should be a list of Commodities names. Be aware that Commodities names are case sensitive ! Names with spaces must be quoted. Called without any argument CLIExchange will list ALL running commodities. example: CLIExchange KILL "Magic Menu" GrabIFF Yak "Arq 1.78" will kill these 4 commodities listed. CLIExchange DISABLE will disable all running commodities because no commodities list is provided. CLIExchange will display the list of currently commodities. DISCLAIMER Allright, here it is : you use CLIExchange at your own risk. I cannot be responsible to any damage happening when using it. AUTHOR You can contact me for bug reporting or whatever at : Gael MARZIOU Cidex 103 38920 CROLLES FRANCE or by e-mail (preferred) : gael@gnlab030.grenoble.hp.com By the way, you should try my other PD utility : Yak. CREDITS Thanks to Klaus Melchior the author of MUI_Exchange who allowed me to use some definitions and pragmas from his source. HISTORY 1.0 : First official release. 688 bytes. 1.1 : 672 bytes. 1.2 : 592 bytes.