On 3/5/04 4:48 am, "John C. Welch" <[EMAIL PROTECTED]> wrote:

> On 5/2/04 5:29 PM, "Barry Wainwright" <[EMAIL PROTECTED]> wrote:
> 
>>> Well, it's not an error message, it's a dialog asking
>>> if you're sure you want to quit. Maybe it times out eventually but I've
>>> never had the patience to wait it out. On the other hand, it doesn't come up
>>> often, so I haven't been able top test "waiting it out" in spite of 10 new
>>> attempts. (I can't get it to come up now.)
>> 
>> Ok, I know the one you mean. I checked - it doesn't time out.
>> 
>> However, I still don't recommend force quitting. Better to do this:
>> 
>> tell application "Microsoft Entourage"
>>     repeat while connection in progress is true
>>         delay 1
>>     end repeat
>>     quit
>> end tell
> 
> Would you even need the delay? An empty repeat loop should work just as
> well, and no delay needed.

Because an empty repeat loop thrashes the processor and hogs the system
until it empties. The 1 second delay is a lot kinder to other processes.

-- 
Barry Wainwright
Microsoft MVP (see http://mvp.support.microsoft.com for details)
Seen the Entourage FAQ pages? - Check them out:
  <http://www.entourage.mvps.org/toc.html>




-- 
To unsubscribe:                     
<mailto:[EMAIL PROTECTED]>
archives:       
<http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
old-archive:       
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>

Reply via email to