home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Creative Computers
/
CreativeComputers.iso
/
shareware
/
utilities
/
magicon_1.0
/
magicon.doc
< prev
next >
Wrap
Text File
|
1994-11-17
|
7KB
|
318 lines
MagIcon Version 1.0 by ╪ystein Larsen
⌐ 1992 Ultima Thule Software
=======================================================================
= Distribution =
=======================================================================
This program is FREEWARE. It may be freely distributed (for non-profit
only!) as long as all files in it remain unchanged and are included in
the distribution. This program cannot be used for commercial purposes
without written permission from the author.
=======================================================================
= Information =
=======================================================================
What this program does, is that it takes all the fake and real icons
you "feed" the program with and turns them into real icons. At the same
time it tries to determine what kind of file-type the files are.
If that file-type is supported then the program will add the correct
file-type-icon to the file.
This is done by checking a few of the first bytes of the file. The file
must be over 20 bytes (but: the textfiles have to be over 380 bytes) or
else it would not work properly.With the exception of the project-type,
which will be explained later in this doc.
All the icons supplied should be copied both to the ENVARC:Sys
directory and the ENV:Sys directory.
=======================================================================
MagIcon supports some Tool Types. I'll try to explain their functions.
APPMENU - Adds a menuitem in the Tools menu which can
be used instead of the dropicon. This tool
type is selectable.
ICON_XPOS - The dropicons X-position.
ICON_YPOS - The dropicons Y-position.
ICON_NAME - The name of the dropicon/menuitem.
DONOTWAIT - Have to be there if you start the program
from WBstartup. It's function is explained in
the OS2.X manual.
STARTPRI - Make sure MagIcon is executed as the last
program. Should be set to -30 so that the
menuitem will be at the bottom of the Tools
menu.
All the ICON_* tool types have default values/names in case you don't
include them.
=======================================================================
So far MagIcon supports 38 different icons:
def_drawer - You should already have these icons.
def_project -
def_disk -
- executable files -
def_tool - This is the default tool icon. Which will be
used if one executable file doesn't have any
of these extensions:
def_library - .library
def_device - .device
def_filesys - .filesystem
def_handler - .handler
def_lib - .lib
- text files -
def_ascii - This is the default text icon. Which will be
used if one text file doesn't have any of
these extensions:
def_c - .c
def_asm - .s/.a/.asm
def_i - .i
def_h - .h
def_rexx - .rexx/.arexx/.s2c/.ced/.dopus/.ttx/.adpro
- archive types -
def_dms - The rest of the files are checked by looking
for some keywords inside the files.
def_lha -
def_lharc -
def_zoo -
def_imploder -
def_pkzip -
- FORM types -
def_ilbm - ILBM format.
def_anim - ANIM format.
def_8svx - 8SVX sound format.
def_pref - PREF format used by OS2.x.
def_ftxt - FTXT format.
def_imgobj - Imagine Object file.
- misc. types -
def_ppacker - Will only recognize the packed data-files.
Not the executable files.
def_b&psong - Bars&Pipes song-format.
def_gif - GIF format.
def_medsound - MED synth-sound format.
def_medsong - MED song-format.
def_midi - MIDI file (MThd type).
def_sascape - Scenery Animator Scape format.
def_vistadem - Vista Pro DEM format.
def_soundqbank - SoundQuest bank format.
def_objectcode - Object Code file.
def_amigaguide - AmigaGuide file.
MagIcon requires Kickstart and Workbench 2.X to run, and can only be
executed from Workbench.
I take no responsibility for any kind of damage to software or
hardware. You use this program entirely at your own risk.
=======================================================================
= Usage =
=======================================================================
Manual start:
Just double-click the icon to start it.
From WBstartup:
Copy MagIcon to the WBstartup drawer and it will be executed the next
time you reboot. Remember to have the DONOTWAIT tool-type activated.
If everything went ok, you will (hopefully) see a very nice dropicon
located somewhere on your Workbench screen.
To process a file, just drop the icon on the dropicon or use 'MagIcon'
from the Tools menu (if you have the APPMENU tool-type activated).
You may process several icons at the same time by holding down the
shift key while you're selecting icons before you drop them.
A small hint:
If you have several icons spread over a large area, it's best to use
the menuitem in the Tools menu. It's not very vice to use the dropicon
in this case. You will soon find out why...
Here is some info about the project-type file:
If a file have the EXECUTABLE bit set, the program will process it and
try to determine which kind of file it is. If the EXECUTABLE bit is
unset, the program will just add the default def_project icon to the
file without processing it.
Remember that all icons with the EXECUTABLE bit unset is a 'project'
type and all icons with the EXECUTABLE bit unset is a 'tool' type.
So if you want a file to be a project-type, not using the default
'def_project' icon, you have to make sure the file have the EXECUTABLE
bit set before you process it. When that is done you simply unset the
EXECUTABLE bit.
If you have any other file-type(s) you would like this program to
support, just send me a copy of the file and I'll try to include it in
the program. ( And a icon if you wish, but I can't promise that your
icon will be included in this package. I m ight make my own one(s). )
If you have any other suggestions or if you find any bugs in this
program, I'd appreciate a small note.
Here's my address: ╪ystein Larsen
Melandsgata 10
9600 Hammerfest
Norway
Ultima Thule Software (and I) can be reached trought email at the
following adress:
cbmehq!cbmnor!pnilsen!petter@cbmvax.commodore.com