home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_progs
/
shells
/
closewd.lha
/
CloseWD.doc
< prev
next >
Wrap
Text File
|
1992-10-11
|
7KB
|
255 lines
Documentation
CloseWD Version 1.2
written 1992 by H.P.G
FreeWare
Index:
Index
History
General Description
System Requirements
Legal Stuff
Installation
Using CloseWd
Cli-Parameters
Technical
Last
Address
List of Files
History:
Version 0.1 - 0.7
Versions for Kickstart 1.3. Without user-interface.
Version 0.8
First version for Kickstart 2.xx. Without GadTools-userinterface
Version 0.9
New, Using a GadTools-userinterface.
Version 1.0 - 1.1
Enhancements. Several commandline options added.
CW can be startet via WBench.
Version 1.2
Better design. Now CW looks for the window by name.
Now it supports Pattern-Matching. Added new ask-function.
General Description:
First:
CloseWd is a OS 2.xx only tool. That means it doesn`t run under
Kickstart 1.2 and 1.3.
An usual problem: There is a program which end but its window is
still be opened.
To get rid of all those forgotten windows you can now use CloseWd.
CloseWd [CW] first opens its window with several gadgets on it.
By using one of the supported ways you are able to chose the window
you want to be closed.
CW has a GadTools user interface. For each gadget exists an aquivalent
key you can press instead of click on a gadget.
System Requirements:
You need at least OS 2.xx version 37L. Version 36 missed some
function features.
Legal Stuff:
This program and all files come with it also the docfiles are released
as FREEWARE.
this means:
everybody may use CloseWd,
everybody may copy CloseWd, if:
1. you copy all included files see list below
2. no changes are made , this means the program amd all included files
must stay in the origin form. Exception: you may archieve it ; but
in this way you must also archieve the whole package.
3. if you recompile it, you have to include a notice to the original
author. if you also want to (re)distribute in this form you have to
send me a copy.
4. you may not sell CloseWd
except: you`re allowed to take a small copy fee which
may not extend 5$.
5. if you want to include CloseWd or one of the included files as a part
of a commercial package, you must have written permission of the
author (address see below)
I take no warranty or garanty for the function of this program.
The whole risk of using it stays by the user.
Installation:
CloseWd can be startet from CLi or from WBench.
If you want to start CloseWd mainly via Cli you should copy it
into your C: directory or in any other directory in your current
AmigaDOS searchpath.
If you will instead start CW mainly via WBench you can copy
CW to any place just by dragging its icon to the drawer you
want CW to be located.
Using CloseWd:
Starting CW opens its window which contains several gadgets.
There are two kinds of finding the window you want to be closed.
1. By activating the window:
Therefor you must activate the Time gadget or type 'i'.
You can specify a delay time by type in the value into the Wait
gadget. Then CW delays the given time before searching for the
activated window.
If you e.g. want to close a window on another screen than WBench,
it can take a time to bring this screen to front and activate the
right window. If you have specify a delay value of 20 sec. CW waits
20 seconds before searching the active window.
Take Care:
It will always delayed until the given time is finished.
There is no way to break this delay. All other instructiones
are in this time absolutely ignored. When the time delay has
finished, the screen will flash. You should take care not to
activate any other window before you see the flashing or the
wrong window may be closed.
2. By specifying the name of the window:
Therefor you must type in the first chars of the window title in the
Title Stringgadget.
If CW finds a match for the name the found window will be closed.
CloseWd has just another useful option, the ask-option.
To use this option you must activate the Ask gadget (the hook must appear).
The ask options support both window searching ways. If activated CW askes
now for confirmation before closing any window.
The 'Okay try to ....' gadget starts the searching.
With Cancel und Quit you can end the program.
Instead clicking on a gadget you can type the underline key of the gadget
label.
Instead clicking the Zoom gadget (Iconify) you can type 'z'. Typing z or
pressing the Zoom gadget again brings up the big window on the old place.
Instead using the Closegadget you can type 'q'.
WARNING:
* You must not close windows which still be used by another program or
* application.
* This can lead to crashes. You should ever use the ask-option.
* You should never use CW while another program is still reading or writing
* something to a disk or harddisk, because you can never be sure if a window
* is still be used by another program or task. In this case you can lose
* datas.
Cli-Parameters
Starting CloseWd via CLI you can specify the following arguments:
Syntax: CloseWd [Title][ASK/S][DELAY/N]
with
Title specifies the title of the window gadget which will be displayed
when CW first opens.
ASK if you specify ASK the ask gadget is activated when CW starts
DELAY you can specify the number which will be displayed in the
wait gadget when CW first starts.
Technical: CloseWd doesn`t use a ListView-gadget to display all
opened windows. The allocation of a list and the nodes
would takes too much time and results on a bigger
code.
CloseWD uses the new features of the DOS and GadTools.
libraries.
CW was compiled with the Aztec C Compiler Version 5.2a.
Last:
I hope there is no need to use CloseWd very often. Because CloseWd
is only used when another program has a bug and cannot close its
opened windows by termination.
Nevertheless I hope this is a useful program.
If there are any BUGS in this program please let me know
Have fun ...
Address:
Hans-Peter Guenther
Gruener Weg 5
3501 Fuldatal 2
Germany
List of files:
(If you miss one of the following files, your release is incomplete)
CloseWD : The binary
CloseWD.info
CloseWd.doc : Englishe manual
CloseWd.doc.info
CloseWd.dok : German manual
CloseWd.dok.info
----------END