AminetAminet
Search:
84450 packages online
About
Recent
Browse
Search
Upload
Setup
Services

comm/thor/SaveMsg.lha

Mirror:Random
Showing:ppc-amigaosgeneric
No screenshot available
Short:Save/print Thor msgs with/without headers
Author:roy at ebrown.demon.co.uk (Roy E Brown)
Uploader:Author
Type:comm/thor
Version:1.5
Architecture:m68k-amigaos
Date:1998-05-16
Download:http://aminet.net/comm/thor/SaveMsg.lha - View contents
Readme:http://aminet.net/comm/thor/SaveMsg.readme
Downloads:4335

This script will allow the user to save or print the currently displayed
message - or save multiple messages to disk. The user is given the choice
whether to include the headers or not, and if the file already exists on disk,
whether to overwrite or append.

The default filename for a single message is taken from the message subject. Any
'/', ':' & ' ' characters are converted to '-', ';' & '_' respectively.

The default filename for multiple messages is taken from the Conference name
with '.msgs' added as a suffix, i.e. 'ALT.SYS.AMIGA.THOR.msgs'.

Of course, in both cases, the user can set the filename to whatever he or she
desires.

To save multiple messages, use shift-click in the message list window to select
the required messages. If the message list window is not open, the user will be
prompted to open it before running the script again.

For printing, the current message is first saved to the file 'T:Temp.msg' and
then copied to the PRT: device.

This script will only work from within Thor.

Any comments or suggestions, please email me. Thanks

History
V1.5       Fixed a bug where a System name with spaces caused the script to
(14.5.98)  fail. I can't believe I didn't think to find/fix this last time
           around in V1.4.  Thanks to Robin K. Brookes for highlighting the
           problem

V1.4       Fixed a bug where Conference names with spaces in caused the script
(11.9.97)  to fail. :(

V1.3       The save directory now defaults to the Save Dir, as set in Thor's
(15.2.97)  Global Paths (thanks to Paul Gooch for the suggestion).

           Each message in a 'multiple message save' has a divider showing the
           message number, the conference and message creation date.

           General tidy up of the code

V1.2       Added support for saving multiple messages to disk.
(13.2.97)

V1.1.1     BUGFIX: SaveMsg now also converts '/' to '-' in the filename.
(10.2.97)
           Changed printer output to PRT: device instead of PAR: device.      

V1.1       Added the capability to print individual messages, with or without
(9.2.97)   headers.

           The script will now find the path to Thor (using ENV:THOR/ThorPath),
           rather than use the assign 'Thor:', which may or may not exist on all
           systems.

V1.0       Initial release.
(8.2.97)  


Contents of comm/thor/SaveMsg.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1194    2406  49.6% -lh5- 8e13 May 14  1998 SaveMsg.readme
[generic]                 2203    6126  36.0% -lh5- 439c May 14  1998 SaveMsg.thor
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files    3397    8532  39.8%            May 16  1998

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>