Re: Checking the status of Entourage
Re: Checking the status of Entourage
- Subject: Re: Checking the status of Entourage
- From: Paul Berkowitz <email@hidden>
- Date: Wed, 05 Feb 2003 22:20:23 -0800
On 2/5/03 8:30 PM, "Paul Berkowitz" <email@hidden> wrote:
>
Although you told it to connect, it hadn't finished making the connection
>
when the script got to the next line. Since connection wasn't in progress,
>
it told you it was finished.
>
>
tell application "Microsoft Entourage"
>
connect to every POP account
>
delay 1
>
repeat while not (connection in progress)
>
end repeat
>
repeat while connection in progress
>
delay 1
>
end repeat
>
display dialog "finished"
>
end tell
Sorry, I put the first delay in the wrong place - made no sense (although it
might have worked anyway). Here:
tell application "Microsoft Entourage"
connect to every POP account
repeat while not (connection in progress)
delay 1
end repeat
repeat while connection in progress
delay 1
end repeat
display dialog "finished"
end tell
--
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.