MiamiOnline.yam MiamiOffline.yam MiamiQuit.yam Version 1.01 - 15.6.01 © H. van der Ree hivdree@uwnet.nl Are you using an expensive dailupline to your ISP? Do you want to keep the costs as low as possible when emailing or doing news? These arexx scripts keep the time you are connected to an absolute minimum! They combine getting online, sending new mail and optionally news, downloading new mail and optionally new news, go offline and optionally scan your new email for YahooGroups adverts under the 'Get' and "Send' buttons. Of course you can use these scripts to simply send and receive email AND news with YAM too, without the online-offline bit. DESCRIPTION: MiamiOnline.yam will start and put Miami online from YAM before sending and downloading new mail and news. MiamiOffline.yam optionally starts YAM2NN by Karol Bryd & Magnus Johansson, disconnects Miami from your server, and if installed starts YahooGroupsScanner.rexx by Steve Bowman. Get them from Aminet, comm/mail/YahooGpScan1_1.lha. comm/news/Yam2NN_0.87.lha If mail is send it will also check if there is new mail on your mailserver and download it before hanging up if the option "SEND" is used. If you use Yam2NN the same goes for news, both sending and downloading! The connection will not be touched if other programs like browsers or FTP clients are running or Miami was already online. MiamiQuit.yam cleans up when you quit YAM. REQUIREMENTS: Miami, YAM 2 and REXX. Optionally YahooGroupsScanner.rexx and YAM2NN for stripping YahooGroups adverts and NNTP support. rexxdossupport.library, Copyright (C) 1994-1997 by hartmut Goebel, included in this archive. WBStarter ; \ wbstart.library; >---- Copyright (C) 1991-96 Stefan Becker, included in dospath.library; / this archive. For OS3.5 and OS3.9 replace these with the relevant files for WBStartEmu.lha. Use version 45.1c or better, lower versions don't work for scripts! The scripts work with Miami 3.2b, YAM 2.1, YAM 2.2, YAM 2.3, OS 3.1 and OS 3.9. Other versions are not tested but should work. INSTALLATION: If you want to keep the original MiamiOnline.yam and MiamiOffline.yam scripts rename them before copying these new ones! To install, simply copy these scripts to YAM:Rexx. You don't need the .deb versions. Only use those if you have problems running the scripts. Copy the programs from the c-directory to c: and from libs-directory to Libs: Make sure you do not overwrite newer existing files! wbstart.library is an OS3.1 library, if you are using OS3.5 or OS3.9 get the latest WBStartEmu.lha from Aminet. If you use WBStartEmu then replace 'wbstarter' by 'wbrun' in MiamiOnline.yam. * Now open YAM's Config panel and go to the ARexx section. Hilite the "Before getting mail" item and load "Rexx/MiamiOnline.yam" into the Script gadget. Double check the Pop-up selector is on ARexx and not AmigaDOS. Leave "Open console window" unchecked, but (IMPORTANT) make sure "Wait for termination" is checked ON. * Hilite the "After getting mail" item and load "Rexx/MiamiOffline.yam" into the Script gadget. Double check the Pop-up selector is on ARexx and not AmigaDOS. Leave "Open console window" unchecked, but (IMPORTANT) make sure "Wait for termination" is checked ON. If you want YAM2NN support add the option "NEWS". Don't forget to add "SYS:Rexxc/rx YAM:Rexx/MiamiOffline.yam" into the "After download" gadget on the events page of YAM2NNConfig! * Hilite the "Before sending mail" item and load "Rexx/MiamiOnline.yam" into the Script gadget. Double check the Pop-up selector is on ARexx and not AmigaDOS. Leave "Open console window" unchecked, but (IMPORTANT) make sure "Wait for termination" is checked ON. If you use Yam2NN add the option "NEWS". This option checks for news and if found marks it 'H' so it is not send the 'normal' way. After your mail is send the original status is restored and your news is send by Yam2NN. Email-on-hold is not affected. Because Yam2NN doesn't (yet) support the YAM mailstatus, news-on-hold is send together with the other news!! MiamiOnline.yam does however support news-on-hold. * Hilite the "After sending mail" item and load "Rexx/MiamiOffline.yam SEND" into the Script gadget. Don't forget the option 'SEND'. Double check the Pop-up selector is on ARexx and not AmigaDOS. Leave "Open console window" unchecked, but (VERY IMPORTANT) make sure "Wait for termination" is checked OFF. * Hilite the "Program termination" item and load "Rexx/MiamiQuit.yam" into the Script gadget. Double check the Pop-up selector is on ARexx and not AmigaDOS. Leave "Open console window" and "Wait for termination" unchecked. Save your new settings. From now on you only have to start YAM to use your email! USAGE: Not much to say really. Press 'Get' if you want to download new mail and optionally news. Press 'Send' if you have new mail or optionally news to send and automatically your new mail and optionally new news will be downloaded as well. BUGS: None that I know off. If you have problems running these scripts, replace them with the .deb versions and see if the file RAM:MiamiOnline.debug means anything to you. If it doesn't send this file together with a description of the problem and a summary of your system to me and I will try to find an answer. Don't forget to check the MiamiOnline.yam.deb script if it uses the Miami path you use! HISTORY: 1.00 - 11.05.01 First public version. 1.01 - 15.06.01 Cleaned up a litle. Now for Miami only, if you use MiamiDx then use the MiamiDx versions. THANKS Thanks go to Steve Bowman, I nicked parts of his eGroupsScanner.readme. I hope he doesn't mind. Thanks also to Marcel Beck, of course for YAM, and the MiamiOn & Offline scripts which inspired me to write these Miami scripts. A big thanks to Johan Banis for his time and effort to make these scripts work on other systems than mine, in particular under OS3.9 and with Yam2NN. DISCLAIMER: · These scripts are to be used entirely at your own risk, and although I have performed extensive testing, I will not be held responsible for any loss of data as a result of there use. · These scripts are © 2000-2001, and may only be distributed in its original unmodified form. · These scripts are EMailware, that means if you use them, please send me an email. If you disagree with any of the above, do not use the scripts!