• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Checking the status of Entourage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Checking the status of Entourage


  • Subject: Re: Checking the status of Entourage
  • From: Paul Berkowitz <email@hidden>
  • Date: Wed, 05 Feb 2003 20:30:31 -0800

On 2/5/03 6:09 PM, "Scott Griffitts" <email@hidden> wrote:

> 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.

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


And if you have IMAP accounts, turn off LiveSync or it will never finish.
--
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.

  • Follow-Ups:
    • Re: Checking the status of Entourage
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: Checking the status of Entourage (From: Scott Griffitts <email@hidden>)

  • Prev by Date: Re: text item delimiters maddness
  • Next by Date: Testing an algorithm...
  • Previous by thread: Re: Checking the status of Entourage
  • Next by thread: Re: Checking the status of Entourage
  • Index(es):
    • Date
    • Thread