Script to Quit Entourage

D

David Thorpe

I would like to use backup software that I have to backup my Entourage
database (Mail Identity Folder) on a daily basis. I am assuming that this
won't work if Entourage is running.

As I am in the habit of leaving it open, I wondered if there's a simple
Script I can run to close Entourage at a predetermined time each night? I
can then schedule the backup for after this.

Any help greatly appreciated.

David
 
P

Paul Berkowitz

I would like to use backup software that I have to backup my Entourage
database (Mail Identity Folder) on a daily basis. I am assuming that this
won't work if Entourage is running.

As I am in the habit of leaving it open, I wondered if there's a simple
Script I can run to close Entourage at a predetermined time each night? I
can then schedule the backup for after this.

Any help greatly appreciated.


tell application "Microsoft Entourage" to quit


should work, run from an Entourage Schedule. I haven't tried it, however -
it's just possible that run as a compiled script from Entourage itself (the
usual way, saved as a compiled script to the Entourage Script Menu Items
folder) just might get gummed up. I think it should be OK. If not, save the
script as an Application and set the Schedule to Launch Alias instead,
pointing to the saved script application which you can put anywhere on your
hard disk.

--
Paul Berkowitz
MVP Entourage
Entourage FAQ Page: <http://www.entourage.mvps.org/toc.html>
AppleScripts for Entourage: <http://macscripter.net/scriptbuilders/>

Please "Reply To Newsgroup" to reply to this message. Emails will be
ignored.

PLEASE always state which version of Entourage you are using - 2001 or X.
It's often impossible to answer your questions otherwise.
 
D

David Thorpe

tell application "Microsoft Entourage" to quit


should work, run from an Entourage Schedule. I haven't tried it, however -
it's just possible that run as a compiled script from Entourage itself (the
usual way, saved as a compiled script to the Entourage Script Menu Items
folder) just might get gummed up. I think it should be OK. If not, save the
script as an Application and set the Schedule to Launch Alias instead,
pointing to the saved script application which you can put anywhere on your
hard disk.

Paul,

Worked brilliantly. Thanks.

David
 
Top