On or about 3/31/02 9:03 AM David Groover eruditely mused the following:
>OK, I am learning to use my old OneClick to connect with AppleScript.
>Here is a script that I tried putting in side a OC hot key for one button
>launching and checking of mail when Emailer isn't already running.
>
> tell application "Claris Emailer"
> activate
> check mail "Mindspring"
> end tell
>
>// I have also tried:
>
> tell application "Claris Emailer"
> activate
> check mail "Mindspring"
> end tell
>
>// It ran and opened Emailer all right. But it didn't do any checks for
>new mail.
>
>I am still a little new to using AS. I looked in Emailer dictionary for
>the check mail line. I wasn't sure if it needed the account name as
>string or if left off it will just check the default account. I would
>love to learn where my logic broke down and how to actually do this.
Try substituting
check mail "Mindspring"
with (keep comments if you need - it reminds you of possibilities)
--___ add more "Account Names" to collect more mail at the
same
time/session _____
connect to "Mindspring" with checking and sending
Because this uses checking before sending it will effectively
authenticate your account.
There is a newish script that tells CE to dialup, connect, collect and
log off in Mac OS 9.1 because some older scripts don't work anymore
because of OS changes. If you need this let me know offlist.
Cheers
Karl
Webmaster for:
IAS, Irish Airmail Society:
http://members.aol.com/karlfranzw/AirmailSociety.html
___________________________________________________________________________
To unsubscribe send a mail message with a SUBJECT line of "unsubscribe" to
<[EMAIL PROTECTED]> or <[EMAIL PROTECTED]>