Short: Useful ARexx scripts for YAM (rel 8) 14 new or updated scripts Author: kajun@sci.fi Uploader: kajun sci fi Type: comm/mail Architecture: m68k-amigaos Replace: YAMscripts.lha Long: This archive contains several AREXX-scripts I've written for Marcel Becks's (mbeck@access.ch) great mail program YAM. They were written for version 1.3.4 and might not work with older versions. Many of them require reqtools and rexxreqtools libraries. If you have any questions, comments or bugs to report, send mail to knikulai@utu.fi These and other scripts can also be found on my ARexx page at http://www.sci.fi/~kajun Some of the scripts in this archive are: Anonymize.rexx -------------- This script will change the selected message in the Outgoing folder so that it will be sent via a remailer. AddXHeaders.rexx ---------------- Reads a file and adds the contents to the headers of all messages in the outgoing folder. Not very useful in my opinion, but several people requested for it, so here it is :-) CheckNewMail.rexx ----------------- Scans all your folders and displays which of them have new or unread messages in them. Very useful, if you have lots of folders; just let the script scan your messages and select the folder you want to read next from a requester. The script is pretty fast compared to earlier versions. DeleteOld.rexx -------------- Removes old messages from the folder automatically. FixQuotes.rexx -------------- This script changes quote marks which aren't supported by all fonts to ordinary quotes. No more annoying squares in the messages... Fileserver2.rexx ---------------- You can create an automated filearchive with this script. Others can get files from it by sending a request in e-mail. The script will reply and attach the required file in the reply. It can also send a helpfile or a current index of the archive. This version is much more versatile than the old script, it can for example display contents of archived files. GetAddresses.rexx ----------------- Scans all messages in the current folder for e-mail addresses and displays them in a requester. From that requester addresses can be added to the YAM addresbook. GrabURL.rexx ------------ Scans the selected message and displays all http: and ftp: references in a requester. You can select one of them and send it to your browser. Currently supported browsers are AWeb, IBrowse and Voyager. GrabAllURLs.rexx & MakeHotlist.rexx ----------------------------------- These scripts scan all _read_ messages in the current folder for http: and ftp: references like the above script. The first then displays a requester and second creates a HTML-file and sends it to your browser. Join.rexx --------- Joins and uudecodes multipart messages. Can be used with for example many ftp-mailers and SplitNMail.rexx. PGPRead.rexx & PGPWrite.rexx ---------------------------- These scripts try to make usng PGP a bit simpler and quicker. Search.rexx ----------- Search current folder for a word. SplitNMail.rexx --------------- This script will split a long file into several posts and mail them. This is useful for posting long files to many mailing lists and newsgroups. Tagline2.rexx ------------- Changes the editor button to 'add tagline' -button . Supports multiple tagfiles and multi-line tags. Unread.rexx ----------- Simpy marks the current message as unread. WholeStory.rexx --------------- Combines multipart messages. I use this script to join X-Files fanfic mailings into a single file. YAMMail.rexx ------------ Use YAM to send mail from AWeb. Asks, if you want to include the current page. This version can get the subject from the URL. I'm not sure how it will work with the commercial version, since I only have the old demo. What to do, when the scripts will not work? ------------------------------------------- First of all you need to check a few things: - Do you have YAM running? The scripts can be started from shell or whatever program you are using, but they need to have YAM running first. - Do you have ARexx running? If not, you might want to add line 'run <>nil: RexxMast' to your startup-sequence - Do you have rx-command in sys:rexxc, where YAM looks for it? - Do you have all the required libraries? - Did you configure the script correctly? This means editing path and filenames in the script and setting the correct path & command in YAM:.config If you still have problems, keep YAM running in the background and execute the script from shell by typing 'rx yam:rexx/scriptname'. That way you will see the error message which usually is 'Missing quote' or 'Unfinished comment' which are both really easy to correct. If you still can't get a script work, execute it from shell by typing 'rx >ram:error yam:rexx/scriptname' and send the created file ram:error to kajun@sci.fi and I'll try to fix the problem. Have fun! Listing of archive 'YAMscripts.lha': Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 2118 1032 51.2% 14-Apr-97 17:06:02 AddXheader.rexx : Copies X-Headers from a file to all messages in Outgoing folder v1.1 1478 800 45.8% 16-May-97 14:50:28 ChangeConfig.rexx : Select new configuration from several available ones v1.0 976 558 42.8% 16-May-97 14:57:14 LoadConfig.rexx : Load a new configuration v1.0 3061 1332 56.4% 04-Jan-97 17:14:34 Tagline2.rexx : Changes the 'Editor' button to 'Add a random tagline' button. V1.0 3427 1601 53.2% 24-Jun-97 20:22:56 ArchiveFolder.rexx : Renames messages to their subject and archives all messages in a folder v1.1 3316 1562 52.8% 24-Jun-97 20:25:02 ArchiveMsgs.rexx : Use string pattern to decide which msgs are moved to a .lha archive v1.1 2116 1094 48.2% 25-Jun-97 19:20:22 CountryCode.rexx : Sends addresses from a message to CountryCodes. v1.0 1587 827 47.8% 07-Jul-97 19:46:28 DecodeFolder.rexx : Decodes all messages in the folder with munpack 660 393 40.4% 17-Feb-97 16:49:36 DeleteFolder.rexx : Quickly deletes all messages in a folder v1.0 581 338 41.8% 04-Dec-96 11:50:46 DeleteRead.rexx : Deletes read messages from current folder 996 490 50.8% 02-Apr-97 17:19:48 DispHTML.rexx : Display a message with a WWW-browser v1.0 363 233 35.8% 10-Apr-97 17:23:52 Edit.rexx : Quickly edits a message in any folder v1.0 11667 4161 64.3% 27-Jun-97 13:56:06 Fileserver2.rexx : Better, improved Fileserver. v2.2 1061 524 50.6% 21-Apr-97 13:39:34 GEOhide.rexx : Hides the HTML code from YAM in Geocities mails and replies v 1.0 1261 596 52.7% 21-Apr-97 13:26:46 GEOreply.rexx : Replies the message instead of the HTML code in Geocities mails v 1.0 2816 1272 54.8% 27-May-97 12:27:20 PGPread.rexx : Read and reply PGP encoded messages with YAM v 1.1 1326 739 44.2% 27-May-97 12:26:24 PGPwrite.rexx : Write a PGP encoded message v 1.1 1050 500 52.3% 29-May-97 15:21:32 RandomSample.rexx : Plays a random sample when mail arrives v1.0 3054 1324 56.6% 24-Jun-97 20:29:52 search.rexx : Search current folder for a word v1.1 1230 671 45.4% 24-Jun-97 20:34:04 ShowSubjects.rexx : Copy message subject to filenote. Makes identifying files in shell easier v1.1 3364 1432 57.4% 24-Jun-97 20:48:10 SplitNMail.rexx : YAM script to split a long file into several posts 1.2 4788 1931 59.6% 09-Jun-97 13:01:08 tagline.rexx : Append random taglines to outgoing mail. Now with multiple tagfiles! v1.4 316 225 28.7% 17-Dec-96 01:07:44 Unread.rexx : Marks the current message as unread and updates folder index v1.1 1380 661 52.1% 22-Oct-97 23:37:54 Anonymize.rexx : Use an anonymous remailer to send a message v1.0 1171 661 43.5% 01-Sep-97 19:28:22 ChangeSubject.rexx : Displays a string requester and allows you to change the subject v 1.0 4345 1870 56.9% 09-Jul-97 11:25:30 CheckNewMail.rexx : Checks YAM for new/unread mail and displays a 'select folder'-requester (v1.6) 1456 760 47.8% 11-Sep-97 20:48:22 DeleteOld.rexx : Remove old messages from current folder v1.0 1859 909 51.1% 24-Sep-97 20:32:24 FixQuotes.rexx : Changes special quotes to ordinary ones 1.1 4077 1722 57.7% 24-Sep-97 09:54:10 GetAddresses.rexx : Scan folder for e-mail addresses v1.2 6304 2208 64.9% 20-Jul-97 12:48:38 GrabAllURLs.rexx : Grabs URLs from all read messages in the folder V1.3 4909 2007 59.1% 20-Jul-97 12:48:16 GrabURL.rexx : Grabs URLs from a message, displays them and sends one to your browser V1.5 5989 2465 58.8% 17-Oct-97 12:38:20 Join.rexx : Join and uudecode a multipart posting. V1.3 7778 3149 59.5% 07-Sep-97 11:23:22 MakeDigest.rexx : Joins several messages into one message v 1.2 5122 2075 59.4% 18-Jul-97 20:25:56 MakeHotlist.rexx : Grabs URLs from messages, creates a hotlist and sends it to a browser v1.2 1803 861 52.2% 15-Jul-97 20:47:22 RemDupl.rexx : Remove duplicate messages from folder v 1.3 2766 1214 56.1% 20-Jul-97 10:01:04 SigReply.rexx : Domain dependent signatures! v1.1 7046 2805 60.1% 11-Sep-97 22:04:36 WholeStory.rexx : Combine several messages into one story v1.6 2330 1140 51.0% 12-Oct-97 18:37:42 Find.rexx : Searches Subject: and From: headers v1.0 937 529 43.5% 27-Jun-97 19:18:16 YAMmail.rexx : Send mail from a browser with YAM -------- ------- ----- --------- -------- 111884 48671 56.4% 23-Oct-97 21:06:18 39 files