/*
 *   This very simple ARexx-script automatically exports all unexported mails
 *   and executes NetCall right afterwards. If copied to your ARexx-directory
 *   of Spot, this script will always be executed when you press the
 *   'NetCall' gadget.
 *
 *   Please adjust the 'NetCall' line (path of NetCall, ID...)
 */


/*
 *   Export messages
 */

address SPOT 'export CLOSEWIN'


/*
 *   Execute NetCall
 */

address command 'Mail:Bin/NetCall OPENBIG'


/*
 *   Import messages
 */

address SPOT 'import'