home *** CD-ROM | disk | FTP | other *** search
- :::::::
- UnPacker.doc
- :::::::
-
-
-
- =====================================
- = =
- = UnPacker v1.2; 1993-09-22 =
- = =
- = Copyright ©1993 Erik Sagalara. =
- = =
- = This program is FreeWare. =
- = =
- =====================================
-
-
-
-
-
-
-
- Description:
- ------------
- UnPacker is an appicon utility for extracting archives from the WB.
- It automatically chooses the archiver to use by comparing the file
- suffix (e.g.. '.lha') with the program icon's tooltypes. Thus you
- can configure it to recognize every archive format you use.
-
-
- Usage:
- -----
- UnPacker only works from the WB. There are two ways to use it:
-
- 1) If you start UnPacker directly from the Workbench it will open
- an appicon. To extract an archive just throw it on UnPacker.
-
- You can double click the icon to get an informative requester.
- Choose the 'QUIT!' button to remove UnPacker.
-
-
- 2) If you use ToolManager you're lucky, because UnPacker works great
- together with it.
-
- Create an EXEC object with the settings 'Program Type' = WB and
- 'Argument' = ON. Then connect it to an ICON object or a DOCK entry.
- To use just throw the archive file on the icon. If you double-
- click it UnPacker will start as in 1) and open it's AppIcon.
-
-
- Configuration:
- --------------
- Here is a list of the available tooltypes:
-
- 'DONOTWAIT' This is neccesary if you put it in WbStartup.
-
- 'XPOS=' Specifies the appicons X-position (from left edge),
- 'YPOS=' respectively the Y-position (from the top).
-
- 'DESTDIR=' Tells where to place extracted files, eg. DESTDIR=RAM:
-
- 'XYZ=C:xyz x' This is the most important tooltype. It is used to Un-
- Packer what to do when it encounters a ARCNAME.XYZ file.
-
- The first part is the archives suffix (LHA, ZIP, ...).
- The second part is the command that will be executed.
- In most cases this is something like: 'C:LhA x'. This
- makes UnPacker put the filename after the command. In
- some cases you would want to put the filename in the
- middle of the command. To do that put an questionmark
- '?' in the place you want the filename to be inserted.
-
- Examples: 'LHA=C:LhA x', 'DMS=C:DMS Write ? To DF1:'.
-
- The program icon already contains tooltypes for the
- most popular archive formats.
-
-
- Motivation:
- -----------
- I wrote this program because although there is a whole array of "appicon-
- type" programs to do all sort of things there still lacks a comfortable
- method to extract archives from the WB.
-
- Of course you can make hacks in ToolManager for this, but they only handle
- one archiver a time, and you cant have dozens of icons for every possible
- filetype. Thus my idea was to have one program handle all archive formats.
-
-
- Changes & bugfixes:
- ------------------
- Included the '?' feature in the tooltypes. It found it was impossible to
- tell some programs (like DMS) which drive to write to because they need
- their arguments in the right order.
-
- Removed the fixed suffix length. Some archive programs us suffixes (sp?)
- like '.Z' or '.gz'.
-
- Designed the new MagicWB-inspired icon. This actually took almost as much
- time as the programming. :-)
-
- NOTE! I think this version should be reasonably bugfree. If nobody finds
- any further bugs or suggests some features that I want to put in
- this will be the final release.
-
-
- Contacting the author:
- ----------------------
- If you have any questions or just like the program feel free to contact me:
-
- EMAIL: d86esa@efd.lth.se
-
- MAIL: Erik Sagalara
- Tunaväg. 39 B549
- 223 63 LUND
- Sweden
-
-
- NOTE! I have supplied the source with this distribution. I hope it can
- prove useful to someone.
-