Short: Useful ARexx scripts for YAM (rel 5) Author: knikulai@utu.fi Uploader: knikulai@utu.fi Type: comm/mail Replace: YAMscripts.lha Long: NOTE! This is only a minor update. It fixes some scripts which didn't work with Voyager NG. Nothing else has changed! 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.3a 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.utu.fi/~knikulai/ARexx.html CheckNewMail.rexx (v1.4) ------------------------ 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. Fileserver.rexx (v1.1) --------------- 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. GetAddresses.rexx (v1.1) ------------------------ 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 (v1.2) ------------------- 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 (v1.1) & 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 (v1.1) ---------------- Joins and uudecodes multipart messages. Can be used with for example many ftp-mailers and SplitNMail.rexx. Search.rexx (v1.1) ------------------ 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. Tagline.rexx (v 1.4) -------------------- Adds random taglines to messages in outgoing folder. Supports multiple tagfiles and multi-line tags. Unread.rexx ----------- Simpy marks the current message as unread. WholeStory.rexx (v1.3) ---------------------- Combines multipart messages. I use this script to join X-Files fanfic mailings into a single file. YAMMail.rexx (v1.1) ------------------- 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 knikulai@utu.fi and I'll try to fix the problem. Have fun! ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 1383 711 48.5% 26-Nov-96 18:24:34 DeleteOld.rexx 3089 1360 55.9% 05-Dec-96 04:08:28 Fileserver.rexx 3174 1330 58.0% 02-Dec-96 18:58:40 SplitNMail.rexx 898 504 43.8% 22-Nov-96 15:38:38 YAMmail.rexx 235 174 25.9% 14-Nov-96 13:56:38 Unread.rexx 4311 1837 57.3% 20-Feb-97 12:23:04 CheckNewMail.rexx 3702 1590 57.0% 05-Feb-97 20:16:42 GetAddresses.rexx 2941 1266 56.9% 05-Feb-97 19:36:48 search.rexx 6199 2538 59.0% 18-Feb-97 17:56:22 Join.rexx 4532 1976 56.3% 18-Feb-97 12:16:54 WholeStory.rexx 4318 1829 57.6% 20-Feb-97 17:32:50 YAMscripts.readme 4414 1778 59.7% 21-Feb-97 11:05:08 GrabAllURLs.rexx 3463 1491 56.9% 21-Feb-97 11:05:56 GrabURL.rexx 4629 1812 60.8% 21-Feb-97 11:04:18 MakeHotlist.rexx -------- ------- ----- --------- -------- 47288 20196 57.2% 26-Feb-97 06:53:56 14 files