This Script is for AWeb-Users: It will start Miami and YAM (if neccessary),
go online (if neccessary) and tell YAM to search for new mail and to send
all mails in the "outgoing" folder. Afterwards it will go offline (only if
Miami was offline before) and quit Miami (only if Miami wasn't running
before).
If YAM found new Mail, then YAM's Screen will stay in front. Otherwise the
AWeb-Screen will pop to front and YAM will be quited again (only if it
wasn't running before, of course :).
Configure the script as a menu item or a gui button:
- copy it to AWebpath:Plugins/ (or whatever location you prefer)
- select the button/menu item you want to configure
- enter "RUN AWebpath:Plugins/mailcheck.awebrx" at the "Command" field
If you start the script with the argument "STAY" (i.e. "RUN
AWebpath:Plugins/mailcheck.awebrx STAY"), YAM won't be quitted and will
stay in front, no matter if new mail arrived or not.
This script is based on an a ARexx-Listing called "Post abholen" :) by
Heiko Kuschel.
Christoph Gutjahr
|