On 11/20/00 1:30 PM, "Ulrich von Brunn" <[EMAIL PROTECTED]> wrote:
> I have the following problem in Microsoft Entourage: An AppleScript is
> supposed to be executed directly after the process of checking e-mail. If I
> add the script execution in a "check-mail"-schedule, the script is executed
> simultaneously, but NOT after checking mail.
>
> Any ideas are greatly appreciated!
It runs as soon as the "Receive Mail" command is _initiated_, not when it
finishes. To do what you want, remove the Receive Mail actions. Then open up
the script in a script editor, and right at the beginning (after any
properties or globals that may be declared), insert:
tell application "Microsoft Entourage"
connect to every POP account -- or IMAP account
repeat while connection in progress
delay 1
end repeat
end tell
(or if the first line of your current script is 'tell application "Microsoft
Entourage"', you can just insert the next four lines here and leave off the
'end tell').
--
Paul Berkowitz
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
To search the archives:
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>