home *** CD-ROM | disk | FTP | other *** search
- *************************************************************************
- * (16-Nov-94) *
- * IconShow 0.12ß by Per-Olof Yliniemi *
- * *
- * Copyright © 1994 - All Rights Reserved *
- * *
- *************************************************************************
- * *
- * DISCLAIMER: No responsibility can be taken on the part of the author *
- * for any consequences that may occur as a result of using this *
- * program. Every part of the program has been thoroughly tested to *
- * to its specified limits and any known specific limitations of the *
- * the program are stated within this documentation. *
- * *
- *************************************************************************
- * *
- * COPYRIGHT: This program is FREEWARE. No kind of contributions are *
- * required from anyone who uses this program, but if you want the *
- * assembly language source code for this program, send me one disk *
- * with PD, Shareware,Freeware and other freely distributable programs *
- * plus return postage. *
- * *
- * This program may not be sold for any profit (a nominal fee for *
- * copying is accepted). The program may be freely distributed as long *
- * as all files are distributed and unmodified. *
- * *
- * This program may not be used as a part of any commercial packages *
- * without my permission. The source code for this program may not be *
- * reproduced by disassembling or reversing the development process in *
- * any way. *
- * *
- *************************************************************************
-
- Purpose:
- ~~~~~~~~
- IconShow is a CLI command that allows you to view icons. This program
- was written to allow other programs (directory utilities etc.) to view
- icons.
-
- Requirements:
- ~~~~~~~~~~~~~
- This program requires v2.04 or higher of the operating system to run. You
- also needs an icon to use it on (included... :-).
-
- Usage:
- ~~~~~~
- IconShow has the following CLI-template:
-
- IconShow ICON/A
-
- If you type IconShow ?, you'll see the syntax in the CLI window. To use
- the program on an icon called "More.info" then you should type
-
- IconShow Sys:Utilities/More.info
-
- and press return. The program will open a little window showing the icon
- image, and when you press the left mouse button over the image it will
- change nearly exact (see notes below) as it will when clicked in Workbench.
- Close the window or press the ESC key to exit the program.
-
- Usage from other programs:
- ~~~~~~~~~~~~~~~~~~~~~~~~~~
- This program is best used in directory utilities like DiskMaster, DirWork
- and Directory Opus. Here's an example on how to make use of it in
- DiskMaster:
-
- Copy IconShow to your C: directory or another command path in your system.
-
- Load your DiskMaster configuration file into any text editor. If you don't
- have a configuration file, start DiskMaster and select "Save Config" from
- the Project Menu.
-
- Insert this line before the "AddAutoCmd TEXT,Read %s" line (it's the second
- line from the bottom of the config file):
-
- AddAutoCmd ,*.info,Extern IconShow %s
-
- Save your config file and start DiskMaster from the Project icon that was
- created when you saved the configuration. If DiskMaster could find the file
- you just created, it will now skip the About requester at start, else read
- the manual for DiskMaster.
-
- If you now double-click on any file that ends with ".info" the IconShow
- program will try to load it and open a little window on the same screen as
- DiskMaster is.
-
- To make this program even more useful, load the config file again into your
- text editor and insert this line before the "AddCmd ShowPic, 20, ShowPic %s"
- line:
-
- AddCmd ShowIcon, 20, Extern IconShow %s
-
- Save the config file and start DiskMaster again. Now you will have a new
- gadget in the window in the middle of the display. It's located just before
- the "ShowPic" gadget. To view a bunch of icons with unknown names, select
- for example the sys:utilities drawer and press the ShowIcon gadget. The
- program will now show all icons it can find in the selected drawer(s). To
- make DiskMaster stop, press the ESC key while DiskMaster is searching for
- some icons.
-
- Read the manual for your directory utility to find out more on how to
- configure it.
-
- Notes:
- ~~~~~~
- When viewing icons with only one image, they get rendered a bit different
- than they should. This has something to do with the GFLG_GADGHCOMP bit in
- the gadget structure of the icon. All other programs like this that I have
- tested also have this error. I may fix this in a later version of IconShow.
-
- Other programs like this (and an earlier version of this program) also
- failed when there was a weird number in the GadgetType field of the gadget
- structure. This program eliminates this crash by changing the GadgetType
- field to GTYP_BOOLGADGET (all icons should have the GadgetType set to this,
- but some icons have another value in here).
-
- Developed on:
- ~~~~~~~~~~~~~
- Amiga 500 Plus
- 2MB Chip RAM, 8MB 16-bit Fast RAM, 8MB 32-bit Fast RAM
- Microbotics VXL-30, 33MHz / 68882, 25MHz
- 260MB Seagate ST3290A harddrive + ICD Trifecta 500 LX controller (SCSI2/IDE)
- Commodore 1084S monitor
-
- Version: Changes: Size:
- ~~~~~~~~ ~~~~~~~~ ~~~~~
- 0.10 First public release. 1004 bytes
- 0.12 A 28 bytes big bug removed... 976 bytes
-
-
- ---------------------------------------------------------------------------
-
- All kinds of freely distributable programs (new software...) are accepted
- as a contribution for this program. If you are a programmer, send me some
- of your own code.
-
- Contributions and bug reports for this program should be sent to:
-
-
- Per-Olof Yliniemi
- Muoniovaara
- S-980 64 Muodoslompolo
- SWEDEN
-
- ---------------------------------------------------------------------------
-