Re: Checking the status of Entourage
Re: Checking the status of Entourage
- Subject: Re: Checking the status of Entourage
- From: Scott Griffitts <email@hidden>
- Date: Wed, 05 Feb 2003 20:09:27 -0600
This is confusing to me:
tell application "Microsoft Entourage"
connect to every POP account
repeat while connection in progress
delay 1
end repeat
display dialog "finished"
end tell
To my novice eyes this would connect and download and, after all downloads
are finished, display "finished". However, it displays "finished" first and
then waits for me to confirm the dialog before it connects and starts
downloading.
>
On 2/4/03 5:38 PM, "Scott Griffitts" <email@hidden> wrote:
>
>
> A little test Entourage X project that I've been thinking about would be a
>
> script that would:
>
>
>
> 1. connect and download my messages
>
>
>
> 2. verify that step 1 is finished then proceed to step 3
>
>
>
> 3. examine what was downloaded then prepare a summary based on the senders
>
> of the messages
>
>
>
> I think I know how to accomplish steps 1 and 3 but I'm not sure about step
>
> 2. Is there a way to check the download status of Entourage?
>
>
tell application "Microsoft Entourage"
>
repeat while connection in progress
>
end repeat
>
end tell
>
>
If you want, you could stick a 'delay 1' in there but that will make
>
Entourage unusable - no clicks, no menus, etc. Even this script will do that
>
if you run the script from Entourage's own script menu. In this case, you're
>
better off running it as an application - applet.
>
>
--
>
Paul Berkowitz
_______________________________________________
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.