Re: Mac Mail Questions
Re: Mac Mail Questions
- Subject: Re: Mac Mail Questions
- From: Oakley Masten <email@hidden>
- Date: Tue, 17 Feb 2004 15:51:16 -0600
Subject: Re: Mac Mail Questions
on 17 Feb 2004, at 11:13 AM, Oakley Masten wrote:
I could put a delay command between the send and quit commands but
that would not account for a slow transfer and might time out before
the file is completely sent. If I set the delay to 300 seconds [for
example] - how do I tell Mac Mail application to run in the
background until timeout?
this is what i do in a script that checks mail and waits until
checking is done:
repeat while background activity count is greater than 0
delay 3 -- delay of 1 seems to stall Mail, 3 may too sometimes
end repeat
Steve
I tried this and it appears to be working perfectly.
I must say, that, I really appreciate code that APPEARS to be so
simple AND works as expected.
An Elegant answer.
Thanks for the help. I will let you know how it works in the long run.
Best Regards
Oakley
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.