Action 1.0
**********

                     Documentation for Action 1.0

             Date: 24. Juli 1993  Author: Michael Suelmann

Copyright
*********

   Action 1.0 is Freeware and may be copied and used for free, as long
as it is distributed complete with documentation.

   The Use of Action is at your own risk. The author may not be made
responsible for damage caused by use of this program.

   Action is copyright (C) 1993 Michael Suelmann.

Overview
********

   Action is a program for starting other programs dependent on file
types.  Files are shown, unpacked, executed, etc. dependent on a chosen
action.

   Action executes commands for each passed file appropriate to the
file type, which are described in a file for action definitions.

   For action definitions see Actions.

   WhatIs.library by Sylvain Rougier and Pierre Carette is used to
recognize file types.

   Action is especial suitable for use with ToolManager by Stefan
Becker.

Requirements
************

   Action 1.0 needs version 2.04 (37.175) oder higher of the Amiga
Operating System.

   A harddisk is very usefull, but not required.

   Action needs [1mWhatIs.library[0m in [1mLIBS:[0m (included).

   for automatic installation the [1mInstaller[0m program is needed.

Installation
************

   You can easily install Action with the [1mInstaller[0m program by
running [1mInstall Action[0m from Workbench.

   If [1mInstaller[0m is not available, you must copy
[1mlibs/WhatIs.library[0m to [1mLIBS:[0m, [1mS/FileTypes[0m to [1mS:[0m,
[1mENV/Action[0m to [1mENV:[0m and [1mENVARC:[0m, and the program [1mAction[0m to a
directory in the path manually.

Usage
*****

       [1mAction[0m may be started from Workbench or CLI.

   The command template for CLI usage is:

       [1mACTION/A,FILE/A/M[0m

[1mACTION/A[0m is the action to be performed.
[1mFILE/A/M[0m is the list of files,
     for which the action should be performed.  AmigaDOS patterns are
     supported.

   For Workbench usage, [1mAction[0m can be default tool or files can be
passed with shift-double click.

   Action uses two tool types:

[1mACTION[0m is the action to be performed.
     Default is [1mView[0m.

[1mWINDOW[0m is the window
     for input and output of executed programs.  Predefined is
     [1mCON:0/21/640/234/Action/CLOSE/AUTO/WAIT[0m.

Actions
*******

   Actions are defined in enviroment variables
[1mENV:Action/Action.[3maction[0m[0m.

   The syntax for action definitions is:

   Lines, which start with [1m#[0m, and empty lines are comments.

   Other lines must start with a file type as used by WhatIs.library.
File types with spaces must be quoted with [1m"[0m.

   These file types are followed by commands to be executed, separated
by spaces or tabs. Multiple commands are separate by commas.

   In commands [1m%f[0m is replaced by the full file name, [1m%s[0m by the file
name without path, [1m%p[0m by the file path and [1m%t[0m by the file type.

   Samples for action definitions are includes for actions [1mView[0m and
[1mUnPack[0m ([1menv/Action/Action.View[0m and [1menv/Action/Action.UnPack[0m).

History
*******

   1.0, Date 24.07.93
   - first released Version

Author
******

   Please send me suggestions, critics, and bug reports.

     Address:
         Michael Suelmann
         Neuburger Straße 61
     
         D-94032 Passau
     
         Germany
     
     E-Mail:
         suelmann@forwiss.uni-passau.de

