home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d9xx
/
d984
/
icontoclip.lha
/
IconToClip
/
IconToClip.doc
< prev
next >
Wrap
Text File
|
1994-04-04
|
3KB
|
86 lines
IconToClip
Version 1.0
MOTIVATION
~~~~~~~~~~
I use the Shell a lot, but typing in filenames, especially full
pathnames, does get tiresome. Often I can see the icon for the file on the
Workbench screen, and I wish I could put the icon's name into the Shell
with just a mouse click instead of having to type the name. The wish is
now reality with IconToClip.
WHAT IT DOES
~~~~~~~~~~~~
When you run IconToClip, it puts an item, labeled "IconToClip", in the
Workbench Tools menu. To transfer an icon's name to the Shell, just
1) Click on the icon.
2) Select the IconToClip menu item. This puts the icon's name into
the Clipboard.
3) Click on the Shell window and press RightAmiga-V. The icon's name
is now pasted into the Shell.
You can also paste the name into any other program that uses the Amiga
Clipboard, such as most word processing programs. IconToClip works well with
Uwe Roehm's NewEdit, which allows you to cut and paste between the Clipboard
and Intuition string gadgets. It requires AmigaDOS 2.04 or higher.
CONTROLS
~~~~~~~~
If you select the IconToClip menu item when no icon is highlighted,
the program will open its control window. This contains four gadgets:
The top gadget allows you to choose what will be written to the
Clipboard, either the icon's full pathname (for example
"Workbench:System/DiskCopy") or only the icon's name (for example
"DiskCopy").
The second gadget controls what happens if you shift-click on several
icons. In "Row" mode, the names will be written in a row, with a space
between names, for example, "SetMap Format DiskCopy". In "Column" mode,
the names will be written with a linefeed after each one, so they will look
like this when pasted:
SetMap
Format
DiskCopy
Do NOT use "Column" mode if you are pasting into the Shell. The linefeed
will cause the Shell to try to execute the preceding name. "Column" mode
is for use with word processing programs.
The "Hide" gadget causes the control window to close.
The "Quit" gadget quits the program.
The control window is an AppWindow. Dragging an icon into the window
causes the icon's name to be written to the Clipboard. If you are processing
many icons, this is worth doing, since it eliminates the need to select the
menu item for each one.
USAGE
~~~~~
From the Shell, IconToClip has this usage:
Format: IconToClip [PATHNAME] [COLUMN] [WINDOW]
Template: PATHNAME/S,COLUMN/S,WINDOW/S
[PATHNAME] causes the full pathname to be written; the default mode is
to write only the icon's name.
[COLUMN] sets to program to "Column" mode; the default is "Row" mode.
[WINDOW] causes the program to open its control window as soon as it is
run.
From the Workbench, IconToClip has three ToolTypes, PATHNAME, COLUMN,
and WINDOW, which are identical to the command line switches. As always,
if you put IconToClip in the WBStartup drawer, include the ToolType
DONOTWAIT.
PARTING IS SUCH SWEET SORROW
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Send your comments and complaints to
Douglas Nelson
2006 N. 49 Avenue
Omaha NE 68104
USA
IconToClip is freely distributable.