home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d9xx
/
d905
/
action.lha
/
Action
/
Docs
/
Action.doc
next >
Wrap
Text File
|
1993-08-26
|
3KB
|
130 lines
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
WhatIs.library
in
LIBS:
(included).
for automatic installation the
Installer
program is needed.
Installation
************
You can easily install Action with the
Installer
program by
running
Install Action
from Workbench.
If
Installer
is not available, you must copy
libs/WhatIs.library
to
LIBS:
,
S/FileTypes
to
S:
,
ENV/Action
to
ENV:
and
ENVARC:
, and the program
Action
to a
directory in the path manually.
Usage
*****
Action
may be started from Workbench or CLI.
The command template for CLI usage is:
ACTION/A,FILE/A/M
ACTION/A
is the action to be performed.
FILE/A/M
is the list of files,
for which the action should be performed. AmigaDOS patterns are
supported.
For Workbench usage,
Action
can be default tool or files can be
passed with shift-double click.
Action uses two tool types:
ACTION
is the action to be performed.
Default is
View
.
WINDOW
is the window
for input and output of executed programs. Predefined is
CON:0/21/640/234/Action/CLOSE/AUTO/WAIT
.
Actions
*******
Actions are defined in enviroment variables
ENV:Action/Action.
action
.
The syntax for action definitions is:
Lines, which start with
#
, 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
"
.
These file types are followed by commands to be executed, separated
by spaces or tabs. Multiple commands are separate by commas.
In commands
%f
is replaced by the full file name,
%s
by the file
name without path,
%p
by the file path and
%t
by the file type.
Samples for action definitions are includes for actions
View
and
UnPack
(
env/Action/Action.View
and
env/Action/Action.UnPack
).
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