On 2/5/04 10:27 pm, "Paul Berkowitz" <[EMAIL PROTECTED]> wrote:

> On 5/2/04 1:26 PM, "Norman W. Ferguson" <[EMAIL PROTECTED]> wrote:
> 
>> Hey all y'all Entourage/AppleScript gurus...
>> 
>> I'd like to create an Finder-level AppleScript that (among other things)
>> quits Entourage irregardless {as my mother the editor cringes} of it's
>> connection state.
>> 
>> I know that at times when issuing a quit command from within Entourage I
>> sometime get that error message to the effect of "Ya sure? We got an active
>> network connection at the moment, ya know."
>> 
>> I've looked at the Entourage AppleScript dictionary, and I see the standard
>> "quit saving yes/no//ask" command, but I'm not sure that applies to this
>> situation.
>> 
>> So is there an appropriate way to quit Entourage and say "yeah, I really
>> really want to quit - now!"?
> 
> Did you try it?
> 
>     tell application "Microsoft Entourage" to quit saving no
> 
> still brings up the 'active connection' dialog if there is a connection. Did
> you know that? (It seems an odd question to ask if you didn't, and odder not
> to say so if you did.)
> 
> As yaw recall, there are UNIX 'kill' commands which do the same thing as a
> Force Quit without a dialog,


I wouldn�t advise that. Killing a process is not a clean shutdown. It just
stops. Dead. No matter what it is doing. This could mean that disk-write
buffers are not flushed, files are not written out before closing and your
database gets corrupted.

If you issue a standard �quit� command, there may be an error message, but
IIRC it will disappear of it�s own accord when the connection finishes.

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