home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mega Top 1
/
os2_top1.zip
/
os2_top1
/
APPS
/
UTILS
/
P-Z
/
PSTRY105
/
PASTRY.DOC
< prev
next >
Wrap
Text File
|
1995-01-17
|
3KB
|
68 lines
The Pastry Box - version 1.05
This version of the utility has been recompiled to take advantage of
new Warp compile options that make the resulting EXE file smaller and
load faster. This means that this version will no longer run under
OS/2 2.0, OS/2 2.1, or OS/2 2.11.
This utility allows the user to load a file or the contents of the
clipboard into a listbox and then select multiple noncontiguous lines
to be pasted to the clipboard in one operation. I use it with an
offline mail reader to select lines from other sources to paste into
replies. It could also be used to select multiple names from an
organization list to form a distribution list. It could also be used
to make a subset of a list of items and copy the subset to the clipboard.
The source file is loaded via a thread, and if you attempt to select
a new file before the current file is completely loaded the utility
will beep and not allow the file dialog box to be opened. It uses a
listbox to contain the text, which allows individual lines of the text
to be marked and later moved to the clipboard. The utility will load as
much of the text as possible and will display an error message if the
text is to big to fit in the listbox. The utility opens the source as
read only so it will not modify the source file. The utility will read
up to 2048 character lines, lines longer will be wrapped to the next
line. The search function will move the line that contains the matched
text to the top of the listbox, unless the last line of the file is
already on screen. There is no online help, but the utility is simple
to use and the menu selections are similar to other OS/2 PM applications.
The font, text color, background color used in the listbox may be
configured via the drag & drop method. Configuration changes may be
saved by using the save settings option which is under Exit. Included
in the saved configuration information is the size and position of the
application's window on the desktop, the file selected, and the
search string.
The configuration is saved in the file PASTRY.INI. The .INI
file is read from the working directory, so you can have multiple
.INI files by changing the working directory entry in the settings
notebook for the program object.
The utility is WPS aware, so you may also select a file by dragging a
copy of it onto the icon object.
The file INSTALL.CMD will install the utility on the desktop if you
have installed REXX. The files will be installed on the boot drive
under \OS2\APPS. If you want the utility to be installed on another
drive, you must modify the INSTALL.CMD file, or use the Drive object
to move the files PASTRY.EXE, PASTRY.ICO, and PASTRY.INI to the desired
location. If you use the Drives object move the files after the running
the INSTALL.CMD, the program object on the desktop will be updated.
The unmodified distribution ZIP file may be uploaded to other
bulletin board systems and on-line services.
This utility is not public domain, the author retains the copyright.
It may not be distributed with any commercial product without permission
from the author. This version of the utility is free for use on home
systems. A commercial license for the program is available, contact the
author via email for further information.
The author may be contacted via internet email as
don.hawkinson@twsubbs.twsu.edu or dwhawk@onyx.southwind.net
Don Hawkinson